@Generated(value="software.amazon.awssdk:codegen") public final class AuditCheckDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuditCheckDetails.Builder,AuditCheckDetails>
Information about the audit check.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuditCheckDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AuditCheckDetails.Builder |
builder() |
Boolean |
checkCompliant()
True if the check is complete and found all resources compliant.
|
AuditCheckRunStatus |
checkRunStatus()
The completion status of this check.
|
String |
checkRunStatusAsString()
The completion status of this check.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorCode()
The code of any error encountered when this check is performed during this audit.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
The message associated with any error encountered when this check is performed during this audit.
|
Long |
nonCompliantResourcesCount()
The number of resources that were found noncompliant during the check.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AuditCheckDetails.Builder> |
serializableBuilderClass() |
AuditCheckDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Long |
totalResourcesCount()
The number of resources on which the check was performed.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic AuditCheckRunStatus checkRunStatus()
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
If the service returns an enum value that is not available in the current SDK version, checkRunStatus
will return AuditCheckRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from checkRunStatusAsString().
AuditCheckRunStatuspublic String checkRunStatusAsString()
The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
If the service returns an enum value that is not available in the current SDK version, checkRunStatus
will return AuditCheckRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from checkRunStatusAsString().
AuditCheckRunStatuspublic Boolean checkCompliant()
True if the check is complete and found all resources compliant.
public Long totalResourcesCount()
The number of resources on which the check was performed.
public Long nonCompliantResourcesCount()
The number of resources that were found noncompliant during the check.
public String errorCode()
The code of any error encountered when this check is performed during this audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
public String message()
The message associated with any error encountered when this check is performed during this audit.
public AuditCheckDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AuditCheckDetails.Builder,AuditCheckDetails>public static AuditCheckDetails.Builder builder()
public static Class<? extends AuditCheckDetails.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.