Interface AutoScalingGroupConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutoScalingGroupConfiguration.Builder,,AutoScalingGroupConfiguration> SdkBuilder<AutoScalingGroupConfiguration.Builder,,AutoScalingGroupConfiguration> SdkPojo
- Enclosing class:
AutoScalingGroupConfiguration
@Mutable
@NotThreadSafe
public static interface AutoScalingGroupConfiguration.Builder
extends SdkPojo, CopyableBuilder<AutoScalingGroupConfiguration.Builder,AutoScalingGroupConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityWaitTimeoutSeconds(Integer capacityWaitTimeoutSeconds) The number of seconds that Image Builder waits for an instance to become available in the group before the build fails.The name of the Auto Scaling group, in the same account and Amazon Web Services Region as the infrastructure configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the Auto Scaling group, in the same account and Amazon Web Services Region as the infrastructure configuration. To specify a group, you must have permissions to describe it.
- Parameters:
name- The name of the Auto Scaling group, in the same account and Amazon Web Services Region as the infrastructure configuration. To specify a group, you must have permissions to describe it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityWaitTimeoutSeconds
AutoScalingGroupConfiguration.Builder capacityWaitTimeoutSeconds(Integer capacityWaitTimeoutSeconds) The number of seconds that Image Builder waits for an instance to become available in the group before the build fails. If you set this value to 0 or omit it, the build fails as soon as the group has no instance available.
- Parameters:
capacityWaitTimeoutSeconds- The number of seconds that Image Builder waits for an instance to become available in the group before the build fails. If you set this value to 0 or omit it, the build fails as soon as the group has no instance available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-