Interface SetDesiredCapacityRequest.Builder
-
- All Superinterfaces:
AutoScalingRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>,SdkBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SetDesiredCapacityRequest
public static interface SetDesiredCapacityRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetDesiredCapacityRequest.BuilderautoScalingGroupName(String autoScalingGroupName)The name of the Auto Scaling group.SetDesiredCapacityRequest.BuilderdesiredCapacity(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.SetDesiredCapacityRequest.BuilderhonorCooldown(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.SetDesiredCapacityRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SetDesiredCapacityRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
autoScalingGroupName
SetDesiredCapacityRequest.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.
-
desiredCapacity
SetDesiredCapacityRequest.Builder 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.
- 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.
-
honorCooldown
SetDesiredCapacityRequest.Builder 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. 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.
-
overrideConfiguration
SetDesiredCapacityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SetDesiredCapacityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-