Interface CancelInstanceRefreshRequest.Builder

    • Method Detail

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