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 String
The actual recovery time that Region switch calculates for a plan execution.static AbbreviatedExecution.Builder
builder()
final String
comment()
An optional comment about the plan execution.final Instant
endTime()
The timestamp when the plan execution was ended.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExecutionAction
The plan execution action.final String
The plan execution action.final String
The execution identifier of a plan execution.final String
The Amazon Web Services Region for a plan execution.final ExecutionState
The plan execution state.final String
The plan execution state.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final ExecutionMode
mode()
The plan execution mode.final String
The plan execution mode.final String
planArn()
The Amazon Resource Name (ARN) of the plan.static Class
<? extends AbbreviatedExecution.Builder> final Instant
The 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 String
toString()
Returns a string representation of this object.final Instant
The timestamp when the plan execution was last updated.final String
version()
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,
mode
will 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,
mode
will 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,
executionState
will 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,
executionState
will 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,
executionAction
will 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,
executionAction
will 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AbbreviatedExecution.Builder,
AbbreviatedExecution> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-