Interface SetDesiredCapacityRequest.Builder
- All Superinterfaces:
- AutoScalingRequest.Builder,- AwsRequest.Builder,- Buildable,- CopyableBuilder<SetDesiredCapacityRequest.Builder,,- SetDesiredCapacityRequest> - SdkBuilder<SetDesiredCapacityRequest.Builder,,- SetDesiredCapacityRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- SetDesiredCapacityRequest
@Mutable
@NotThreadSafe
public static interface SetDesiredCapacityRequest.Builder
extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionautoScalingGroupName(String autoScalingGroupName) The name of the Auto Scaling group.desiredCapacity(Integer desiredCapacity) The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.honorCooldown(Boolean honorCooldown) Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
autoScalingGroupNameThe 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.
 
- 
desiredCapacityThe desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain. - Parameters:
- desiredCapacity- The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
honorCooldownIndicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities. - Parameters:
- honorCooldown- Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationSetDesiredCapacityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationSetDesiredCapacityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-