@Generated(value="software.amazon.awssdk:codegen") public final class AssessmentMetadataItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssessmentMetadataItem.Builder,AssessmentMetadataItem>
A metadata object associated with an assessment in AWS Audit Manager.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssessmentMetadataItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssessmentMetadataItem.Builder |
builder() |
String |
complianceType()
The name of the 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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssessmentMetadataItem.Builder> |
serializableBuilderClass() |
AssessmentStatus |
status()
The current status of the assessment.
|
String |
statusAsString()
The current status of the assessment.
|
AssessmentMetadataItem.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 complianceType()
The name of the compliance standard related to the assessment, such as PCI-DSS.
public final AssessmentStatus status()
The current 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 current 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 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 AssessmentMetadataItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssessmentMetadataItem.Builder,AssessmentMetadataItem>public static AssessmentMetadataItem.Builder builder()
public static Class<? extends AssessmentMetadataItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.