Interface GetPlanExecutionResponse.Builder
- All Superinterfaces:
ArcRegionSwitchResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetPlanExecutionResponse.Builder,
,GetPlanExecutionResponse> SdkBuilder<GetPlanExecutionResponse.Builder,
,GetPlanExecutionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetPlanExecutionResponse
-
Method Summary
Modifier and TypeMethodDescriptionactualRecoveryTime
(String actualRecoveryTime) The actual recovery time that Region switch calculates for a plan execution.A comment included on the plan execution.The time (UTC) when the plan execution ended.executionAction
(String executionAction) The plan execution action.executionAction
(ExecutionAction executionAction) The plan execution action.executionId
(String executionId) The execution identifier of a plan execution.executionRegion
(String executionRegion) The Amazon Web Services Region for a plan execution.executionState
(String executionState) The plan execution state.executionState
(ExecutionState executionState) The plan execution state.The plan execution mode.mode
(ExecutionMode mode) The plan execution mode.Specifies that you want to receive the next page of results.default GetPlanExecutionResponse.Builder
plan
(Consumer<Plan.Builder> plan) The details of the Region switch plan.The details of the Region switch plan.The Amazon Resource Name (ARN) of the plan.The time (UTC) when the plan execution started.stepStates
(Collection<StepState> stepStates) The states of the steps in the plan execution.stepStates
(Consumer<StepState.Builder>... stepStates) The states of the steps in the plan execution.stepStates
(StepState... stepStates) The states of the steps in the plan execution.The timestamp when the plan execution was last updated.The version for the plan.Methods inherited from interface software.amazon.awssdk.services.arcregionswitch.model.ArcRegionSwitchResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
planArn
The Amazon Resource Name (ARN) of the plan.
- Parameters:
planArn
- The Amazon Resource Name (ARN) of the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionId
The execution identifier of a plan execution.
- Parameters:
executionId
- The execution identifier of a plan execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version for the plan.
- Parameters:
version
- The version for the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the plan execution was last updated.
- Parameters:
updatedAt
- The timestamp when the plan execution was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
A comment included on the plan execution.
- Parameters:
comment
- A comment included on the plan execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The time (UTC) when the plan execution started.
- Parameters:
startTime
- The time (UTC) when the plan execution started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time (UTC) when the plan execution ended.
- Parameters:
endTime
- The time (UTC) when the plan execution ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
The plan execution mode. Valid values are
Practice
, for testing without making actual changes, orRecovery
, for actual traffic shifting and application recovery.- Parameters:
mode
- The plan execution mode. Valid values arePractice
, for testing without making actual changes, orRecovery
, for actual traffic shifting and application recovery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
The plan execution mode. Valid values are
Practice
, for testing without making actual changes, orRecovery
, for actual traffic shifting and application recovery.- Parameters:
mode
- The plan execution mode. Valid values arePractice
, for testing without making actual changes, orRecovery
, for actual traffic shifting and application recovery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionState
The plan execution state. Provides the state of a plan execution, for example, In Progress or Paused by Operator.
- Parameters:
executionState
- The plan execution state. Provides the state of a plan execution, for example, In Progress or Paused by Operator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionState
The plan execution state. Provides the state of a plan execution, for example, In Progress or Paused by Operator.
- Parameters:
executionState
- The plan execution state. Provides the state of a plan execution, for example, In Progress or Paused by Operator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionAction
The plan execution action. Valid values are
Activate
, to activate an Amazon Web Services Region, orDeactivate
, to deactivate a Region.- Parameters:
executionAction
- The plan execution action. Valid values areActivate
, to activate an Amazon Web Services Region, orDeactivate
, to deactivate a Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionAction
The plan execution action. Valid values are
Activate
, to activate an Amazon Web Services Region, orDeactivate
, to deactivate a Region.- Parameters:
executionAction
- The plan execution action. Valid values areActivate
, to activate an Amazon Web Services Region, orDeactivate
, to deactivate a Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionRegion
The Amazon Web Services Region for a plan execution.
- Parameters:
executionRegion
- The Amazon Web Services Region for a plan execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepStates
The states of the steps in the plan execution.
- Parameters:
stepStates
- The states of the steps in the plan execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepStates
The states of the steps in the plan execution.
- Parameters:
stepStates
- The states of the steps in the plan execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepStates
The states of the steps in the plan execution.
This is a convenience method that creates an instance of theStepState.Builder
avoiding the need to create one manually viaStepState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostepStates(List<StepState>)
.- Parameters:
stepStates
- a consumer that will call methods onStepState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
plan
The details of the Region switch plan.
- Parameters:
plan
- The details of the Region switch plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plan
The details of the Region switch plan.
This is a convenience method that creates an instance of thePlan.Builder
avoiding the need to create one manually viaPlan.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplan(Plan)
.- Parameters:
plan
- a consumer that will call methods onPlan.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Specifies that you want to receive the next page of results. Valid only if you received a
nextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'snextToken
response to request the next page of results.- Parameters:
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received anextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'snextToken
response to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-