@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) |
boolean |
equalsBySdkFields(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.
|
String |
taskStatusAsString()
The status of this audit.
|
AuditTaskType |
taskType()
The type of this audit.
|
String |
taskTypeAsString()
The type of this audit.
|
AuditTaskMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String taskId()
The ID of this audit.
public final 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 final 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 final 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 final 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()
toBuilder
in interface ToCopyableBuilder<AuditTaskMetadata.Builder,AuditTaskMetadata>
public static AuditTaskMetadata.Builder builder()
public static Class<? extends AuditTaskMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.