@Generated(value="software.amazon.awssdk:codegen") public final class ManagedActionHistoryItem extends Object implements ToCopyableBuilder<ManagedActionHistoryItem.Builder,ManagedActionHistoryItem>
The record of a completed or failed managed action.
Modifier and Type | Class and Description |
---|---|
static interface |
ManagedActionHistoryItem.Builder |
Modifier and Type | Method and Description |
---|---|
String |
actionDescription()
A description of the managed action.
|
String |
actionId()
A unique identifier for the managed action.
|
ActionType |
actionType()
The type of the managed action.
|
String |
actionTypeAsString()
The type of the managed action.
|
static ManagedActionHistoryItem.Builder |
builder() |
boolean |
equals(Object obj) |
Instant |
executedTime()
The date and time that the action started executing.
|
String |
failureDescription()
If the action failed, a description of the failure.
|
FailureType |
failureType()
If the action failed, the type of failure.
|
String |
failureTypeAsString()
If the action failed, the type of failure.
|
Instant |
finishedTime()
The date and time that the action finished executing.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends ManagedActionHistoryItem.Builder> |
serializableBuilderClass() |
ActionHistoryStatus |
status()
The status of the action.
|
String |
statusAsString()
The status of the action.
|
ManagedActionHistoryItem.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 actionId()
A unique identifier for the managed action.
public ActionType actionType()
The type of the managed action.
If the service returns an enum value that is not available in the current SDK version, actionType
will
return ActionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionTypeAsString()
.
ActionType
public String actionTypeAsString()
The type of the managed action.
If the service returns an enum value that is not available in the current SDK version, actionType
will
return ActionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionTypeAsString()
.
ActionType
public String actionDescription()
A description of the managed action.
public FailureType failureType()
If the action failed, the type of failure.
If the service returns an enum value that is not available in the current SDK version, failureType
will
return FailureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
failureTypeAsString()
.
FailureType
public String failureTypeAsString()
If the action failed, the type of failure.
If the service returns an enum value that is not available in the current SDK version, failureType
will
return FailureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
failureTypeAsString()
.
FailureType
public ActionHistoryStatus status()
The status of the action.
If the service returns an enum value that is not available in the current SDK version, status
will
return ActionHistoryStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
ActionHistoryStatus
public String statusAsString()
The status of the action.
If the service returns an enum value that is not available in the current SDK version, status
will
return ActionHistoryStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
ActionHistoryStatus
public String failureDescription()
If the action failed, a description of the failure.
public Instant executedTime()
The date and time that the action started executing.
public Instant finishedTime()
The date and time that the action finished executing.
public ManagedActionHistoryItem.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ManagedActionHistoryItem.Builder,ManagedActionHistoryItem>
public static ManagedActionHistoryItem.Builder builder()
public static Class<? extends ManagedActionHistoryItem.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.