Interface EnterStandbyRequest.Builder

  • Method Details

    • instanceIds

      EnterStandbyRequest.Builder instanceIds(Collection<String> instanceIds)

      The IDs of the instances. You can specify up to 20 instances.

      Parameters:
      instanceIds - The IDs of the instances. You can specify up to 20 instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceIds

      EnterStandbyRequest.Builder instanceIds(String... instanceIds)

      The IDs of the instances. You can specify up to 20 instances.

      Parameters:
      instanceIds - The IDs of the instances. You can specify up to 20 instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoScalingGroupName

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

      EnterStandbyRequest.Builder shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)

      Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to Standby mode.

      Parameters:
      shouldDecrementDesiredCapacity - Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to Standby mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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