Interface CancelInstanceRefreshRequest.Builder

  • Method Details

    • autoScalingGroupName

      CancelInstanceRefreshRequest.Builder autoScalingGroupName(String autoScalingGroupName)

      The name of the Auto Scaling group.

      Parameters:
      autoScalingGroupName - The name of the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • waitForTransitioningInstances

      CancelInstanceRefreshRequest.Builder waitForTransitioningInstances(Boolean waitForTransitioningInstances)

      When cancelling an instance refresh, this indicates whether to wait for in-flight launches and terminations to complete. The default is true.

      When set to false, Amazon EC2 Auto Scaling cancels the instance refresh without waiting for any pending launches or terminations to complete.

      Parameters:
      waitForTransitioningInstances - When cancelling an instance refresh, this indicates whether to wait for in-flight launches and terminations to complete. The default is true.

      When set to false, Amazon EC2 Auto Scaling cancels the instance refresh without waiting for any pending launches or terminations to complete.

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

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