@Generated(value="software.amazon.awssdk:codegen") public final class AuditTaskMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuditTaskMetadata.Builder,AuditTaskMetadata>
The audits that were performed.
Modifier and Type | Class and Description |
---|---|
static interface |
AuditTaskMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
static AuditTaskMetadata.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AuditTaskMetadata.Builder> |
serializableBuilderClass() |
String |
taskId()
The ID of this audit.
|
AuditTaskStatus |
taskStatus()
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
|
String |
taskStatusAsString()
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
|
AuditTaskType |
taskType()
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
String |
taskTypeAsString()
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
|
AuditTaskMetadata.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String taskId()
The ID of this audit.
public AuditTaskStatus taskStatus()
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
If the service returns an enum value that is not available in the current SDK version, taskStatus
will
return AuditTaskStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
taskStatusAsString()
.
AuditTaskStatus
public String taskStatusAsString()
The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".
If the service returns an enum value that is not available in the current SDK version, taskStatus
will
return AuditTaskStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
taskStatusAsString()
.
AuditTaskStatus
public AuditTaskType taskType()
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
If the service returns an enum value that is not available in the current SDK version, taskType
will
return AuditTaskType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
taskTypeAsString()
.
AuditTaskType
public String taskTypeAsString()
The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
If the service returns an enum value that is not available in the current SDK version, taskType
will
return AuditTaskType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
taskTypeAsString()
.
AuditTaskType
public AuditTaskMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AuditTaskMetadata.Builder,AuditTaskMetadata>
public static AuditTaskMetadata.Builder builder()
public static Class<? extends AuditTaskMetadata.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.