Interface AwsAutoScalingAutoScalingGroupDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsAutoScalingAutoScalingGroupDetails.Builder,AwsAutoScalingAutoScalingGroupDetails>,SdkBuilder<AwsAutoScalingAutoScalingGroupDetails.Builder,AwsAutoScalingAutoScalingGroupDetails>,SdkPojo
- Enclosing class:
- AwsAutoScalingAutoScalingGroupDetails
public static interface AwsAutoScalingAutoScalingGroupDetails.Builder extends SdkPojo, CopyableBuilder<AwsAutoScalingAutoScalingGroupDetails.Builder,AwsAutoScalingAutoScalingGroupDetails>
-
-
Method Summary
-
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 Detail
-
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
AwsAutoScalingAutoScalingGroupDetails.Builder loadBalancerNames(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.
-
healthCheckType
AwsAutoScalingAutoScalingGroupDetails.Builder healthCheckType(String healthCheckType)
The service to use for the health checks. Valid values are
EC2orELB.- Parameters:
healthCheckType- The service to use for the health checks. Valid values areEC2orELB.- 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
AwsAutoScalingAutoScalingGroupDetails.Builder createdTime(String createdTime)
Indicates when the auto scaling group was created.
This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") 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
Zor("+" / "-") 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.Builderavoiding the need to create one manually viaAwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails.builder().When the
Consumercompletes,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:
mixedInstancesPolicy(AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails)
-
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.Builderavoiding the need to create one manually viaAwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#availabilityZones(List.) - 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:
#availabilityZones(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaAwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification.builder().When the
Consumercompletes,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:
launchTemplate(AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification)
-
capacityRebalance
AwsAutoScalingAutoScalingGroupDetails.Builder capacityRebalance(Boolean 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.
-
-