Interface UpdatePlanRequest.Builder

  • 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

      UpdatePlanRequest.Builder description(String 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

      UpdatePlanRequest.Builder workflows(Workflow... 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 the Workflow.Builder avoiding the need to create one manually via Workflow.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to workflows(List<Workflow>).

      Parameters:
      workflows - a consumer that will call methods on Workflow.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • executionRole

      UpdatePlanRequest.Builder executionRole(String 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

      UpdatePlanRequest.Builder recoveryTimeObjectiveMinutes(Integer 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

      UpdatePlanRequest.Builder associatedAlarms(Map<String,AssociatedAlarm> 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

      UpdatePlanRequest.Builder triggers(Trigger... 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 the Trigger.Builder avoiding the need to create one manually via Trigger.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to triggers(List<Trigger>).

      Parameters:
      triggers - a consumer that will call methods on Trigger.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.