public class AutoScalingInstanceDetails extends Object implements Serializable
The AutoScalingInstanceDetails
data type.
Constructor and Description |
---|
AutoScalingInstanceDetails() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group associated with this instance.
|
String |
getAvailabilityZone()
The Availability Zone in which this instance resides.
|
String |
getHealthStatus()
The health status of this instance.
|
String |
getInstanceId()
The instance ID of the Amazon EC2 instance.
|
String |
getLaunchConfigurationName()
The launch configuration associated with this instance.
|
String |
getLifecycleState()
The life cycle state of this instance.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group associated with this instance.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone in which this instance resides.
|
void |
setHealthStatus(String healthStatus)
The health status of this instance.
|
void |
setInstanceId(String instanceId)
The instance ID of the Amazon EC2 instance.
|
void |
setLaunchConfigurationName(String launchConfigurationName)
The launch configuration associated with this instance.
|
void |
setLifecycleState(String lifecycleState)
The life cycle state of this instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AutoScalingInstanceDetails |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group associated with this instance.
|
AutoScalingInstanceDetails |
withAvailabilityZone(String availabilityZone)
The Availability Zone in which this instance resides.
|
AutoScalingInstanceDetails |
withHealthStatus(String healthStatus)
The health status of this instance.
|
AutoScalingInstanceDetails |
withInstanceId(String instanceId)
The instance ID of the Amazon EC2 instance.
|
AutoScalingInstanceDetails |
withLaunchConfigurationName(String launchConfigurationName)
The launch configuration associated with this instance.
|
AutoScalingInstanceDetails |
withLifecycleState(String lifecycleState)
The life cycle state of this instance.
|
public String getInstanceId()
Constraints:
Length: 1 - 16
Pattern: [ --�𐀀-\r\n\t]*
public void setInstanceId(String instanceId)
Constraints:
Length: 1 - 16
Pattern: [ --�𐀀-\r\n\t]*
instanceId
- The instance ID of the Amazon EC2 instance.public AutoScalingInstanceDetails withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 16
Pattern: [ --�𐀀-\r\n\t]*
instanceId
- The instance ID of the Amazon EC2 instance.public String getAutoScalingGroupName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group associated with this instance.public AutoScalingInstanceDetails withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group associated with this instance.public String getAvailabilityZone()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setAvailabilityZone(String availabilityZone)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
availabilityZone
- The Availability Zone in which this instance resides.public AutoScalingInstanceDetails withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
availabilityZone
- The Availability Zone in which this instance resides.public String getLifecycleState()
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
public void setLifecycleState(String lifecycleState)
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
lifecycleState
- The life cycle state of this instance. for more information, see Instance
Lifecycle State in the Auto Scaling Developer Guide.public AutoScalingInstanceDetails withLifecycleState(String lifecycleState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
lifecycleState
- The life cycle state of this instance. for more information, see Instance
Lifecycle State in the Auto Scaling Developer Guide.public String getHealthStatus()
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
public void setHealthStatus(String healthStatus)
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
healthStatus
- The health status of this instance. "Healthy" means that the instance
is healthy and should remain in service. "Unhealthy" means that the
instance is unhealthy. Auto Scaling should terminate and replace it.public AutoScalingInstanceDetails withHealthStatus(String healthStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: [ --�𐀀-\r\n\t]*
healthStatus
- The health status of this instance. "Healthy" means that the instance
is healthy and should remain in service. "Unhealthy" means that the
instance is unhealthy. Auto Scaling should terminate and replace it.public String getLaunchConfigurationName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setLaunchConfigurationName(String launchConfigurationName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
launchConfigurationName
- The launch configuration associated with this instance.public AutoScalingInstanceDetails withLaunchConfigurationName(String launchConfigurationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
launchConfigurationName
- The launch configuration associated with this instance.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.