Interface AwsAutoScalingAutoScalingGroupDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsAutoScalingAutoScalingGroupDetails.Builder,
,AwsAutoScalingAutoScalingGroupDetails> SdkBuilder<AwsAutoScalingAutoScalingGroupDetails.Builder,
,AwsAutoScalingAutoScalingGroupDetails> SdkPojo
- Enclosing class:
AwsAutoScalingAutoScalingGroupDetails
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZones
(Collection<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails> availabilityZones) The list of Availability Zones for the automatic scaling group.availabilityZones
(Consumer<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails.Builder>... availabilityZones) The list of Availability Zones for the automatic scaling group.availabilityZones
(AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails... availabilityZones) The list of Availability Zones for the automatic scaling group.capacityRebalance
(Boolean capacityRebalance) Indicates whether capacity rebalancing is enabled.createdTime
(String createdTime) Indicates when the auto scaling group was created.healthCheckGracePeriod
(Integer healthCheckGracePeriod) The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before it checks the health status of an EC2 instance that has come into service.healthCheckType
(String healthCheckType) The service to use for the health checks.launchConfigurationName
(String launchConfigurationName) The name of the launch configuration.launchTemplate
(Consumer<AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification.Builder> launchTemplate) The launch template to use.launchTemplate
(AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification launchTemplate) The launch template to use.loadBalancerNames
(String... loadBalancerNames) The list of load balancers associated with the group.loadBalancerNames
(Collection<String> loadBalancerNames) The list of load balancers associated with the group.mixedInstancesPolicy
(Consumer<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails.Builder> mixedInstancesPolicy) The mixed instances policy for the automatic scaling group.mixedInstancesPolicy
(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails mixedInstancesPolicy) The mixed instances policy for the automatic scaling group.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, sdkFields
-
Method Details
-
launchConfigurationName
AwsAutoScalingAutoScalingGroupDetails.Builder launchConfigurationName(String launchConfigurationName) The name of the launch configuration.
- Parameters:
launchConfigurationName
- The name of the launch configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerNames
AwsAutoScalingAutoScalingGroupDetails.Builder loadBalancerNames(Collection<String> loadBalancerNames) The list of load balancers associated with the group.
- Parameters:
loadBalancerNames
- The list of load balancers associated with the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerNames
The list of load balancers associated with the group.
- Parameters:
loadBalancerNames
- The list of load balancers associated with the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckType
The service to use for the health checks. Valid values are
EC2
orELB
.- Parameters:
healthCheckType
- The service to use for the health checks. Valid values areEC2
orELB
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheckGracePeriod
AwsAutoScalingAutoScalingGroupDetails.Builder healthCheckGracePeriod(Integer healthCheckGracePeriod) The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before it checks the health status of an EC2 instance that has come into service.
- Parameters:
healthCheckGracePeriod
- The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before it checks the health status of an EC2 instance that has come into service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
Indicates when the auto scaling group was created.
This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
- Parameters:
createdTime
- Indicates when the auto scaling group was created.This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
mixedInstancesPolicy
AwsAutoScalingAutoScalingGroupDetails.Builder mixedInstancesPolicy(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails mixedInstancesPolicy) The mixed instances policy for the automatic scaling group.
- Parameters:
mixedInstancesPolicy
- The mixed instances policy for the automatic scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mixedInstancesPolicy
default AwsAutoScalingAutoScalingGroupDetails.Builder mixedInstancesPolicy(Consumer<AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails.Builder> mixedInstancesPolicy) The mixed instances policy for the automatic scaling group.
This is a convenience method that creates an instance of theAwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails.Builder
avoiding the need to create one manually viaAwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomixedInstancesPolicy(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails)
.- Parameters:
mixedInstancesPolicy
- a consumer that will call methods onAwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availabilityZones
AwsAutoScalingAutoScalingGroupDetails.Builder availabilityZones(Collection<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails> availabilityZones) The list of Availability Zones for the automatic scaling group.
- Parameters:
availabilityZones
- The list of Availability Zones for the automatic scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
AwsAutoScalingAutoScalingGroupDetails.Builder availabilityZones(AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails... availabilityZones) The list of Availability Zones for the automatic scaling group.
- Parameters:
availabilityZones
- The list of Availability Zones for the automatic scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
AwsAutoScalingAutoScalingGroupDetails.Builder availabilityZones(Consumer<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails.Builder>... availabilityZones) The list of Availability Zones for the automatic scaling group.
This is a convenience method that creates an instance of theAwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails.Builder
avoiding the need to create one manually viaAwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toavailabilityZones(List<AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails>)
.- Parameters:
availabilityZones
- a consumer that will call methods onAwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchTemplate
AwsAutoScalingAutoScalingGroupDetails.Builder launchTemplate(AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification launchTemplate) The launch template to use.
- Parameters:
launchTemplate
- The launch template to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplate
default AwsAutoScalingAutoScalingGroupDetails.Builder launchTemplate(Consumer<AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification.Builder> launchTemplate) The launch template to use.
This is a convenience method that creates an instance of theAwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification.Builder
avoiding the need to create one manually viaAwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolaunchTemplate(AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification)
.- Parameters:
launchTemplate
- a consumer that will call methods onAwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityRebalance
Indicates whether capacity rebalancing is enabled.
- Parameters:
capacityRebalance
- Indicates whether capacity rebalancing is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-