@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 final String taskId()
The unique identifier for the task that applies the mitigation action.
public final String findingId()
The unique identifier for the findings to which the task and associated mitigation action are applied.
public final String actionName()
The friendly name of the mitigation action being applied by the task.
public final String actionId()
The unique identifier for the mitigation action being applied by the task.
public final 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 final 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 final Instant startTime()
The date and time when the task was started.
public final Instant endTime()
The date and time when the task was completed or canceled. Blank if the task is still running.
public final String errorCode()
If an error occurred, the code that indicates which type of error occurred.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.