@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 completed and found all resources compliant.
|
AuditCheckRunStatus |
checkRunStatus()
The completion status of this check, one of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED",
"COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
|
String |
checkRunStatusAsString()
The completion status of this check, one of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED",
"COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
|
boolean |
equals(Object obj) |
String |
errorCode()
The code of any error encountered when performing this check during this audit.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
The message associated with any error encountered when performing this check during this audit.
|
Long |
nonCompliantResourcesCount()
The number of resources that the check found non-compliant.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AuditCheckDetails.Builder> |
serializableBuilderClass() |
AuditCheckDetails.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Long |
totalResourcesCount()
The number of resources on which the check was performed.
|
copy
public 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()
.
AuditCheckRunStatus
public 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()
.
AuditCheckRunStatus
public Boolean checkCompliant()
True if the check completed 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 the check found non-compliant.
public String errorCode()
The code of any error encountered when performing this check during this audit. One of "INSUFFICIENT_PERMISSIONS", or "AUDIT_CHECK_DISABLED".
public String message()
The message associated with any error encountered when performing this check during this audit.
public AuditCheckDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AuditCheckDetails.Builder,AuditCheckDetails>
public static AuditCheckDetails.Builder builder()
public static Class<? extends AuditCheckDetails.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.