Interface RollbackStackRequest.Builder

  • Method Details

    • stackName

      RollbackStackRequest.Builder stackName(String stackName)

      The name that's associated with the stack.

      Parameters:
      stackName - The name that's associated with the stack.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleARN

      The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack.

      Parameters:
      roleARN - The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the stack.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientRequestToken

      RollbackStackRequest.Builder clientRequestToken(String clientRequestToken)

      A unique identifier for this RollbackStack request.

      Parameters:
      clientRequestToken - A unique identifier for this RollbackStack request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retainExceptOnCreate

      RollbackStackRequest.Builder retainExceptOnCreate(Boolean retainExceptOnCreate)

      When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain.

      Default: false

      Parameters:
      retainExceptOnCreate - When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain.

      Default: false

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentConfig

      RollbackStackRequest.Builder deploymentConfig(DeploymentConfig deploymentConfig)

      The deployment configuration for this stack operation, including the deployment mode.

      Parameters:
      deploymentConfig - The deployment configuration for this stack operation, including the deployment mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentConfig

      default RollbackStackRequest.Builder deploymentConfig(Consumer<DeploymentConfig.Builder> deploymentConfig)

      The deployment configuration for this stack operation, including the deployment mode.

      This is a convenience method that creates an instance of the DeploymentConfig.Builder avoiding the need to create one manually via DeploymentConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deploymentConfig(DeploymentConfig).

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

      RollbackStackRequest.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.