@Generated(value="software.amazon.awssdk:codegen") public final class AssessmentMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssessmentMetadata.Builder,AssessmentMetadata>
The metadata associated with the specified assessment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssessmentMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
AssessmentReportsDestination |
assessmentReportsDestination()
The destination in which evidence reports are stored for the specified assessment.
|
static AssessmentMetadata.Builder |
builder() |
String |
complianceType()
The name of a compliance standard related to the assessment, such as PCI-DSS.
|
Instant |
creationTime()
Specifies when the assessment was created.
|
List<Delegation> |
delegations()
The delegations associated with the assessment.
|
String |
description()
The description of the assessment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDelegations()
Returns true if the Delegations 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 |
hasRoles()
Returns true if the Roles 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 |
id()
The unique identifier for the assessment.
|
Instant |
lastUpdated()
The time of the most recent update.
|
String |
name()
The name of the assessment.
|
List<Role> |
roles()
The roles associated with the assessment.
|
Scope |
scope()
The wrapper of AWS accounts and services in scope for the assessment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssessmentMetadata.Builder> |
serializableBuilderClass() |
AssessmentStatus |
status()
The overall status of the assessment.
|
String |
statusAsString()
The overall status of the assessment.
|
AssessmentMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the assessment.
public final String id()
The unique identifier for the assessment.
public final String description()
The description of the assessment.
public final String complianceType()
The name of a compliance standard related to the assessment, such as PCI-DSS.
public final AssessmentStatus status()
The overall status of the assessment.
If the service returns an enum value that is not available in the current SDK version, status will
return AssessmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AssessmentStatuspublic final String statusAsString()
The overall status of the assessment.
If the service returns an enum value that is not available in the current SDK version, status will
return AssessmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AssessmentStatuspublic final AssessmentReportsDestination assessmentReportsDestination()
The destination in which evidence reports are stored for the specified assessment.
public final Scope scope()
The wrapper of AWS accounts and services in scope for the assessment.
public final boolean hasRoles()
public final List<Role> roles()
The roles associated with the assessment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRoles() to see if a value was sent in this field.
public final boolean hasDelegations()
public final List<Delegation> delegations()
The delegations associated with the assessment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDelegations() to see if a value was sent in this field.
public final Instant creationTime()
Specifies when the assessment was created.
public final Instant lastUpdated()
The time of the most recent update.
public AssessmentMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssessmentMetadata.Builder,AssessmentMetadata>public static AssessmentMetadata.Builder builder()
public static Class<? extends AssessmentMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.