@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public 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()
.
AuditMitigationActionsExecutionStatus
public 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()
.
AuditMitigationActionsExecutionStatus
public 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()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.