Interface AutoScalingGroupConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoScalingGroupConfiguration.Builder,
,AutoScalingGroupConfiguration> SdkBuilder<AutoScalingGroupConfiguration.Builder,
,AutoScalingGroupConfiguration> SdkPojo
- Enclosing class:
AutoScalingGroupConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionallocationStrategy
(String allocationStrategy) Describes the allocation strategy that the EC2 Auto Scaling group uses.allocationStrategy
(AllocationStrategy allocationStrategy) Describes the allocation strategy that the EC2 Auto Scaling group uses.desiredCapacity
(Integer desiredCapacity) The desired capacity, or number of instances, for the EC2 Auto Scaling group.estimatedInstanceHourReductionPercentage
(Double estimatedInstanceHourReductionPercentage) Describes the projected percentage reduction in instance hours after adopting the recommended configuration.instanceType
(String instanceType) The instance type for the EC2 Auto Scaling group.The maximum size, or maximum number of instances, for the EC2 Auto Scaling group.The minimum size, or minimum number of instances, for the EC2 Auto Scaling group.mixedInstanceTypes
(String... mixedInstanceTypes) List the instance types within an EC2 Auto Scaling group that has mixed instance types.mixedInstanceTypes
(Collection<String> mixedInstanceTypes) List the instance types within an EC2 Auto Scaling group that has mixed instance types.Describes whether the EC2 Auto Scaling group has a single instance type or a mixed instance type configuration.Describes whether the EC2 Auto Scaling group has a single instance type or a mixed instance type configuration.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 Details
-
desiredCapacity
The desired capacity, or number of instances, for the EC2 Auto Scaling group.
- Parameters:
desiredCapacity
- The desired capacity, or number of instances, for the EC2 Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minSize
The minimum size, or minimum number of instances, for the EC2 Auto Scaling group.
- Parameters:
minSize
- The minimum size, or minimum number of instances, for the EC2 Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxSize
The maximum size, or maximum number of instances, for the EC2 Auto Scaling group.
- Parameters:
maxSize
- The maximum size, or maximum number of instances, for the EC2 Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type for the EC2 Auto Scaling group.
- Parameters:
instanceType
- The instance type for the EC2 Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allocationStrategy
Describes the allocation strategy that the EC2 Auto Scaling group uses. This field is only available for EC2 Auto Scaling groups with mixed instance types.
- Parameters:
allocationStrategy
- Describes the allocation strategy that the EC2 Auto Scaling group uses. This field is only available for EC2 Auto Scaling groups with mixed instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allocationStrategy
Describes the allocation strategy that the EC2 Auto Scaling group uses. This field is only available for EC2 Auto Scaling groups with mixed instance types.
- Parameters:
allocationStrategy
- Describes the allocation strategy that the EC2 Auto Scaling group uses. This field is only available for EC2 Auto Scaling groups with mixed instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
estimatedInstanceHourReductionPercentage
AutoScalingGroupConfiguration.Builder estimatedInstanceHourReductionPercentage(Double estimatedInstanceHourReductionPercentage) Describes the projected percentage reduction in instance hours after adopting the recommended configuration. This field is only available for EC2 Auto Scaling groups with scaling policies.
- Parameters:
estimatedInstanceHourReductionPercentage
- Describes the projected percentage reduction in instance hours after adopting the recommended configuration. This field is only available for EC2 Auto Scaling groups with scaling policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Describes whether the EC2 Auto Scaling group has a single instance type or a mixed instance type configuration.
- Parameters:
type
- Describes whether the EC2 Auto Scaling group has a single instance type or a mixed instance type configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Describes whether the EC2 Auto Scaling group has a single instance type or a mixed instance type configuration.
- Parameters:
type
- Describes whether the EC2 Auto Scaling group has a single instance type or a mixed instance type configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mixedInstanceTypes
List the instance types within an EC2 Auto Scaling group that has mixed instance types.
- Parameters:
mixedInstanceTypes
- List the instance types within an EC2 Auto Scaling group that has mixed instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mixedInstanceTypes
List the instance types within an EC2 Auto Scaling group that has mixed instance types.
- Parameters:
mixedInstanceTypes
- List the instance types within an EC2 Auto Scaling group that has mixed instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-