Interface UpdatePlanRequest.Builder
- All Superinterfaces:
ArcRegionSwitchRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePlanRequest.Builder,,UpdatePlanRequest> SdkBuilder<UpdatePlanRequest.Builder,,UpdatePlanRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdatePlanRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the plan.associatedAlarms(Map<String, AssociatedAlarm> associatedAlarms) The updated CloudWatch alarms associated with the plan.description(String description) The updated description for the Region switch plan.executionRole(String executionRole) The updated IAM role ARN that grants Region switch the permissions needed to execute the plan steps.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recoveryTimeObjectiveMinutes(Integer recoveryTimeObjectiveMinutes) The updated target recovery time objective (RTO) in minutes for the plan.triggers(Collection<Trigger> triggers) The updated conditions that can automatically trigger the execution of the plan.triggers(Consumer<Trigger.Builder>... triggers) The updated conditions that can automatically trigger the execution of the plan.The updated conditions that can automatically trigger the execution of the plan.workflows(Collection<Workflow> workflows) The updated workflows for the Region switch plan.workflows(Consumer<Workflow.Builder>... workflows) The updated workflows for the Region switch plan.The updated workflows for the Region switch plan.Methods inherited from interface software.amazon.awssdk.services.arcregionswitch.model.ArcRegionSwitchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the plan.
- Parameters:
arn- The Amazon Resource Name (ARN) of the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description for the Region switch plan.
- Parameters:
description- The updated description for the Region switch plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflows
The updated workflows for the Region switch plan.
- Parameters:
workflows- The updated workflows for the Region switch plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflows
The updated workflows for the Region switch plan.
- Parameters:
workflows- The updated workflows for the Region switch plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflows
The updated workflows for the Region switch plan.
This is a convenience method that creates an instance of theWorkflow.Builderavoiding the need to create one manually viaWorkflow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkflows(List<Workflow>).- Parameters:
workflows- a consumer that will call methods onWorkflow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionRole
The updated IAM role ARN that grants Region switch the permissions needed to execute the plan steps.
- Parameters:
executionRole- The updated IAM role ARN that grants Region switch the permissions needed to execute the plan steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryTimeObjectiveMinutes
The updated target recovery time objective (RTO) in minutes for the plan.
- Parameters:
recoveryTimeObjectiveMinutes- The updated target recovery time objective (RTO) in minutes for the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedAlarms
The updated CloudWatch alarms associated with the plan.
- Parameters:
associatedAlarms- The updated CloudWatch alarms associated with the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
The updated conditions that can automatically trigger the execution of the plan.
- Parameters:
triggers- The updated conditions that can automatically trigger the execution of the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
The updated conditions that can automatically trigger the execution of the plan.
- Parameters:
triggers- The updated conditions that can automatically trigger the execution of the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
The updated conditions that can automatically trigger the execution of the plan.
This is a convenience method that creates an instance of theTrigger.Builderavoiding the need to create one manually viaTrigger.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totriggers(List<Trigger>).- Parameters:
triggers- a consumer that will call methods onTrigger.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdatePlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-