Class ManagedActionHistoryItem
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.ManagedActionHistoryItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ManagedActionHistoryItem.Builder,ManagedActionHistoryItem>
@Generated("software.amazon.awssdk:codegen") public final class ManagedActionHistoryItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedActionHistoryItem.Builder,ManagedActionHistoryItem>
The record of a completed or failed managed action.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceManagedActionHistoryItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionDescription()A description of the managed action.StringactionId()A unique identifier for the managed action.ActionTypeactionType()The type of the managed action.StringactionTypeAsString()The type of the managed action.static ManagedActionHistoryItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexecutedTime()The date and time that the action started executing.StringfailureDescription()If the action failed, a description of the failure.FailureTypefailureType()If the action failed, the type of failure.StringfailureTypeAsString()If the action failed, the type of failure.InstantfinishedTime()The date and time that the action finished executing.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ManagedActionHistoryItem.Builder>serializableBuilderClass()ActionHistoryStatusstatus()The status of the action.StringstatusAsString()The status of the action.ManagedActionHistoryItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
actionId
public final String actionId()
A unique identifier for the managed action.
- Returns:
- A unique identifier for the managed action.
-
actionType
public final ActionType actionType()
The type of the managed action.
If the service returns an enum value that is not available in the current SDK version,
actionTypewill returnActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionTypeAsString().- Returns:
- The type of the managed action.
- See Also:
ActionType
-
actionTypeAsString
public final String actionTypeAsString()
The type of the managed action.
If the service returns an enum value that is not available in the current SDK version,
actionTypewill returnActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionTypeAsString().- Returns:
- The type of the managed action.
- See Also:
ActionType
-
actionDescription
public final String actionDescription()
A description of the managed action.
- Returns:
- A description of the managed action.
-
failureType
public final 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,
failureTypewill returnFailureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureTypeAsString().- Returns:
- If the action failed, the type of failure.
- See Also:
FailureType
-
failureTypeAsString
public final 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,
failureTypewill returnFailureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureTypeAsString().- Returns:
- If the action failed, the type of failure.
- See Also:
FailureType
-
status
public final ActionHistoryStatus status()
The status of the action.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnActionHistoryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the action.
- See Also:
ActionHistoryStatus
-
statusAsString
public final String statusAsString()
The status of the action.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnActionHistoryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the action.
- See Also:
ActionHistoryStatus
-
failureDescription
public final String failureDescription()
If the action failed, a description of the failure.
- Returns:
- If the action failed, a description of the failure.
-
executedTime
public final Instant executedTime()
The date and time that the action started executing.
- Returns:
- The date and time that the action started executing.
-
finishedTime
public final Instant finishedTime()
The date and time that the action finished executing.
- Returns:
- The date and time that the action finished executing.
-
toBuilder
public ManagedActionHistoryItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ManagedActionHistoryItem.Builder,ManagedActionHistoryItem>
-
builder
public static ManagedActionHistoryItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends ManagedActionHistoryItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-