public static interface AutoScalingInstanceDetails.Builder extends CopyableBuilder<AutoScalingInstanceDetails.Builder,AutoScalingInstanceDetails>
Modifier and Type | Method and Description |
---|---|
AutoScalingInstanceDetails.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group associated with the instance.
|
AutoScalingInstanceDetails.Builder |
availabilityZone(String availabilityZone)
The Availability Zone for the instance.
|
AutoScalingInstanceDetails.Builder |
healthStatus(String healthStatus)
The last reported health status of this instance.
|
AutoScalingInstanceDetails.Builder |
instanceId(String instanceId)
The ID of the instance.
|
AutoScalingInstanceDetails.Builder |
launchConfigurationName(String launchConfigurationName)
The launch configuration used to launch the instance.
|
AutoScalingInstanceDetails.Builder |
lifecycleState(String lifecycleState)
The lifecycle state for the instance.
|
AutoScalingInstanceDetails.Builder |
protectedFromScaleIn(Boolean protectedFromScaleIn)
Indicates whether the instance is protected from termination by Auto Scaling when scaling in.
|
copy
applyMutation, build
AutoScalingInstanceDetails.Builder instanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.AutoScalingInstanceDetails.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group associated with the instance.
autoScalingGroupName
- The name of the Auto Scaling group associated with the instance.AutoScalingInstanceDetails.Builder availabilityZone(String availabilityZone)
The Availability Zone for the instance.
availabilityZone
- The Availability Zone for the instance.AutoScalingInstanceDetails.Builder lifecycleState(String lifecycleState)
The lifecycle state for the instance. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.
lifecycleState
- The lifecycle state for the instance. For more information, see Auto
Scaling Lifecycle in the Auto Scaling User Guide.AutoScalingInstanceDetails.Builder healthStatus(String healthStatus)
The last reported health status of this instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Auto Scaling should terminate and replace it.
healthStatus
- The last reported health status of this instance. "Healthy" means that the instance is healthy and
should remain in service. "Unhealthy" means that the instance is unhealthy and Auto Scaling should
terminate and replace it.AutoScalingInstanceDetails.Builder launchConfigurationName(String launchConfigurationName)
The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.
launchConfigurationName
- The launch configuration used to launch the instance. This value is not available if you attached the
instance to the Auto Scaling group.AutoScalingInstanceDetails.Builder protectedFromScaleIn(Boolean protectedFromScaleIn)
Indicates whether the instance is protected from termination by Auto Scaling when scaling in.
protectedFromScaleIn
- Indicates whether the instance is protected from termination by Auto Scaling when scaling in.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.