@Generated(value="software.amazon.awssdk:codegen") public final class AuditMitigationActionExecutionMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuditMitigationActionExecutionMetadata.Builder,AuditMitigationActionExecutionMetadata>
Returned by ListAuditMitigationActionsTask, this object contains information that describes a mitigation action that has been started.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuditMitigationActionExecutionMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
actionId()
The unique identifier for the mitigation action being applied by the task.
|
String |
actionName()
The friendly name of the mitigation action being applied by the task.
|
static AuditMitigationActionExecutionMetadata.Builder |
builder() |
Instant |
endTime()
The date and time when the task was completed or canceled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorCode()
If an error occurred, the code that indicates which type of error occurred.
|
String |
findingId()
The unique identifier for the findings to which the task and associated mitigation action are applied.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
If an error occurred, a message that describes the error.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AuditMitigationActionExecutionMetadata.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The date and time when the task was started.
|
AuditMitigationActionsExecutionStatus |
status()
The current status of the task being executed.
|
String |
statusAsString()
The current status of the task being executed.
|
String |
taskId()
The unique identifier for the task that applies the mitigation action.
|
AuditMitigationActionExecutionMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String taskId()
The unique identifier for the task that applies the mitigation action.
public String findingId()
The unique identifier for the findings to which the task and associated mitigation action are applied.
public String actionName()
The friendly name of the mitigation action being applied by the task.
public String actionId()
The unique identifier for the mitigation action being applied by the task.
public AuditMitigationActionsExecutionStatus status()
The current status of the task being executed.
If the service returns an enum value that is not available in the current SDK version, status will
return AuditMitigationActionsExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from statusAsString().
AuditMitigationActionsExecutionStatuspublic String statusAsString()
The current status of the task being executed.
If the service returns an enum value that is not available in the current SDK version, status will
return AuditMitigationActionsExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from statusAsString().
AuditMitigationActionsExecutionStatuspublic Instant startTime()
The date and time when the task was started.
public Instant endTime()
The date and time when the task was completed or canceled. Blank if the task is still running.
public String errorCode()
If an error occurred, the code that indicates which type of error occurred.
public String message()
If an error occurred, a message that describes the error.
public AuditMitigationActionExecutionMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AuditMitigationActionExecutionMetadata.Builder,AuditMitigationActionExecutionMetadata>public static AuditMitigationActionExecutionMetadata.Builder builder()
public static Class<? extends AuditMitigationActionExecutionMetadata.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.