@Generated(value="software.amazon.awssdk:codegen") public final class Evidence extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Evidence.Builder,Evidence>
A record that contains the information needed to demonstrate compliance with the requirements specified by a control. Examples of evidence include change activity triggered by a user, or a system configuration snapshot.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Evidence.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assessmentReportSelection()
Specifies whether the evidence is included in the assessment report.
|
Map<String,String> |
attributes()
The names and values used by the evidence event, including an attribute name (such as
allowUsersToChangePassword) and value (such as true or false). |
String |
awsAccountId()
The identifier for the specified AWS account.
|
String |
awsOrganization()
The AWS account from which the evidence is collected, and its AWS organization path.
|
static Evidence.Builder |
builder() |
String |
complianceCheck()
The evaluation status for evidence that falls under the compliance check category.
|
String |
dataSource()
The data source from which the specified evidence was collected.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventName()
The name of the specified evidence event.
|
String |
eventSource()
The AWS service from which the evidence is collected.
|
String |
evidenceAwsAccountId()
The identifier for the specified AWS account.
|
String |
evidenceByType()
The type of automated evidence.
|
String |
evidenceFolderId()
The identifier for the folder in which the evidence is stored.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttributes()
Returns true if the Attributes property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasResourcesIncluded()
Returns true if the ResourcesIncluded property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
iamId()
The unique identifier for the IAM user or role associated with the evidence.
|
String |
id()
The identifier for the evidence.
|
List<Resource> |
resourcesIncluded()
The list of resources assessed to generate the evidence.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Evidence.Builder> |
serializableBuilderClass() |
Instant |
time()
The timestamp that represents when the evidence was collected.
|
Evidence.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String dataSource()
The data source from which the specified evidence was collected.
public final String evidenceAwsAccountId()
The identifier for the specified AWS account.
public final Instant time()
The timestamp that represents when the evidence was collected.
public final String eventSource()
The AWS service from which the evidence is collected.
public final String eventName()
The name of the specified evidence event.
public final String evidenceByType()
The type of automated evidence.
public final boolean hasResourcesIncluded()
public final List<Resource> resourcesIncluded()
The list of resources assessed to generate the evidence.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResourcesIncluded() to see if a value was sent in this field.
public final boolean hasAttributes()
public final Map<String,String> attributes()
The names and values used by the evidence event, including an attribute name (such as
allowUsersToChangePassword) and value (such as true or false).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttributes() to see if a value was sent in this field.
allowUsersToChangePassword) and value (such as true or false).public final String iamId()
The unique identifier for the IAM user or role associated with the evidence.
public final String complianceCheck()
The evaluation status for evidence that falls under the compliance check category. For evidence collected from AWS Security Hub, a Pass or Fail result is shown. For evidence collected from AWS Config, a Compliant or Noncompliant result is shown.
public final String awsOrganization()
The AWS account from which the evidence is collected, and its AWS organization path.
public final String awsAccountId()
The identifier for the specified AWS account.
public final String evidenceFolderId()
The identifier for the folder in which the evidence is stored.
public final String id()
The identifier for the evidence.
public final String assessmentReportSelection()
Specifies whether the evidence is included in the assessment report.
public Evidence.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Evidence.Builder,Evidence>public static Evidence.Builder builder()
public static Class<? extends Evidence.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.