Interface StartPlanExecutionRequest.Builder
- All Superinterfaces:
ArcRegionSwitchRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<StartPlanExecutionRequest.Builder,
,StartPlanExecutionRequest> SdkBuilder<StartPlanExecutionRequest.Builder,
,StartPlanExecutionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartPlanExecutionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe action to perform.action
(ExecutionAction action) The action to perform.An optional comment explaining why the plan execution is being started.latestVersion
(String latestVersion) A boolean value indicating whether to use the latest version of the plan.The plan execution mode.mode
(ExecutionMode mode) The plan execution mode.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the plan to execute.targetRegion
(String targetRegion) The Amazon Web Services Region to target with this execution.Methods inherited from interface software.amazon.awssdk.services.arcregionswitch.model.ArcRegionSwitchRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
Method Details
-
planArn
The Amazon Resource Name (ARN) of the plan to execute.
- Parameters:
planArn
- The Amazon Resource Name (ARN) of the plan to execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRegion
The Amazon Web Services Region to target with this execution. This is the Region that traffic will be shifted to or from, depending on the action.
- Parameters:
targetRegion
- The Amazon Web Services Region to target with this execution. This is the Region that traffic will be shifted to or from, depending on the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action to perform. Valid values are ACTIVATE (to shift traffic to the target Region) or DEACTIVATE (to shift traffic away from the target Region).
- Parameters:
action
- The action to perform. Valid values are ACTIVATE (to shift traffic to the target Region) or DEACTIVATE (to shift traffic away from the target Region).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action to perform. Valid values are ACTIVATE (to shift traffic to the target Region) or DEACTIVATE (to shift traffic away from the target Region).
- Parameters:
action
- The action to perform. Valid values are ACTIVATE (to shift traffic to the target Region) or DEACTIVATE (to shift traffic away from the target Region).- 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:
-
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:
-
comment
An optional comment explaining why the plan execution is being started.
- Parameters:
comment
- An optional comment explaining why the plan execution is being started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestVersion
A boolean value indicating whether to use the latest version of the plan. If set to false, you must specify a specific version.
- Parameters:
latestVersion
- A boolean value indicating whether to use the latest version of the plan. If set to false, you must specify a specific version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartPlanExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartPlanExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-