@Generated(value="software.amazon.awssdk:codegen") public final class AssessmentMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssessmentMetadata.Builder,AssessmentMetadata>
The metadata that's 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 that evidence reports are stored in for the assessment.
|
static AssessmentMetadata.Builder |
builder() |
String |
complianceType()
The name of the compliance standard that's related to the assessment, such as PCI-DSS.
|
Instant |
creationTime()
Specifies when the assessment was created.
|
List<Delegation> |
delegations()
The delegations that are 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()
For responses, this returns true if the service returned a value for the Delegations property.
|
int |
hashCode() |
boolean |
hasRoles()
For responses, this returns true if the service returned a value for the Roles property.
|
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 that are associated with the assessment.
|
Scope |
scope()
The wrapper of Amazon Web Services accounts and services that are 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 the compliance standard that's 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 that evidence reports are stored in for the assessment.
public final Scope scope()
The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.
public final boolean hasRoles()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Role> roles()
The roles that are associated with the assessment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRoles() method.
public final boolean hasDelegations()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Delegation> delegations()
The delegations that are associated with the assessment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDelegations() method.
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 © 2023. All rights reserved.