Class AbbreviatedExecution
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AbbreviatedExecution.Builder,AbbreviatedExecution>
A summarized representation of a plan execution. This structure contains key information about an execution without all the detailed step data.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe actual recovery time that Region switch calculates for a plan execution.static AbbreviatedExecution.Builderbuilder()final Stringcomment()An optional comment about the plan execution.final InstantendTime()The timestamp when the plan execution was ended.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExecutionActionThe plan execution action.final StringThe plan execution action.final StringThe execution identifier of a plan execution.final StringThe Amazon Web Services Region for a plan execution.final ExecutionStateThe plan execution state.final StringThe plan execution state.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ExecutionModemode()The plan execution mode.final StringThe plan execution mode.final StringplanArn()The Amazon Resource Name (ARN) of the plan.static Class<? extends AbbreviatedExecution.Builder> final InstantThe timestamp when the plan execution was started.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantThe timestamp when the plan execution was last updated.final Stringversion()The version for the plan.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
planArn
The Amazon Resource Name (ARN) of the plan.
- Returns:
- The Amazon Resource Name (ARN) of the plan.
-
executionId
The execution identifier of a plan execution.
- Returns:
- The execution identifier of a plan execution.
-
version
-
updatedAt
The timestamp when the plan execution was last updated.
- Returns:
- The timestamp when the plan execution was last updated.
-
comment
An optional comment about the plan execution.
- Returns:
- An optional comment about the plan execution.
-
startTime
The timestamp when the plan execution was started.
- Returns:
- The timestamp when the plan execution was started.
-
endTime
The timestamp when the plan execution was ended.
- Returns:
- The timestamp when the plan execution was ended.
-
mode
The plan execution mode. Valid values are
Practice, for testing without making actual changes, orRecovery, for actual traffic shifting and application recovery.If the service returns an enum value that is not available in the current SDK version,
modewill returnExecutionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The plan execution mode. Valid values are
Practice, for testing without making actual changes, orRecovery, for actual traffic shifting and application recovery. - See Also:
-
modeAsString
The plan execution mode. Valid values are
Practice, for testing without making actual changes, orRecovery, for actual traffic shifting and application recovery.If the service returns an enum value that is not available in the current SDK version,
modewill returnExecutionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The plan execution mode. Valid values are
Practice, for testing without making actual changes, orRecovery, for actual traffic shifting and application recovery. - See Also:
-
executionState
The plan execution state. Provides the state of a plan execution, for example, In Progress or Paused by Operator.
If the service returns an enum value that is not available in the current SDK version,
executionStatewill returnExecutionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutionStateAsString().- Returns:
- The plan execution state. Provides the state of a plan execution, for example, In Progress or Paused by Operator.
- See Also:
-
executionStateAsString
The plan execution state. Provides the state of a plan execution, for example, In Progress or Paused by Operator.
If the service returns an enum value that is not available in the current SDK version,
executionStatewill returnExecutionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutionStateAsString().- Returns:
- The plan execution state. Provides the state of a plan execution, for example, In Progress or Paused by Operator.
- See Also:
-
executionAction
The plan execution action. Valid values are
Activate, to activate an Amazon Web Services Region, orDeactivate, to deactivate a Region.If the service returns an enum value that is not available in the current SDK version,
executionActionwill returnExecutionAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutionActionAsString().- Returns:
- The plan execution action. Valid values are
Activate, to activate an Amazon Web Services Region, orDeactivate, to deactivate a Region. - See Also:
-
executionActionAsString
The plan execution action. Valid values are
Activate, to activate an Amazon Web Services Region, orDeactivate, to deactivate a Region.If the service returns an enum value that is not available in the current SDK version,
executionActionwill returnExecutionAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexecutionActionAsString().- Returns:
- The plan execution action. Valid values are
Activate, to activate an Amazon Web Services Region, orDeactivate, to deactivate a Region. - See Also:
-
executionRegion
The Amazon Web Services Region for a plan execution.
- Returns:
- The Amazon Web Services Region for a plan execution.
-
actualRecoveryTime
The actual recovery time that Region switch calculates for a plan execution. Actual recovery time includes the time for the plan to run added to the time elapsed until the application health alarms that you've specified are healthy again.
- Returns:
- The actual recovery time that Region switch calculates for a plan execution. Actual recovery time includes the time for the plan to run added to the time elapsed until the application health alarms that you've specified are healthy again.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AbbreviatedExecution.Builder,AbbreviatedExecution> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-