com.amazonaws.services.autoscaling.model
Class AutoScalingInstanceDetails

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.AutoScalingInstanceDetails

public class AutoScalingInstanceDetails
extends Object

The AutoScalingInstanceDetails data type.


Constructor Summary
AutoScalingInstanceDetails()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutoScalingInstanceDetails

public AutoScalingInstanceDetails()
Method Detail

getInstanceId

public String getInstanceId()
The instance ID of the Amazon EC2 instance.

Constraints:
Length: 1 - 16
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The instance ID of the Amazon EC2 instance.

setInstanceId

public void setInstanceId(String instanceId)
The instance ID of the Amazon EC2 instance.

Constraints:
Length: 1 - 16
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
instanceId - The instance ID of the Amazon EC2 instance.

withInstanceId

public AutoScalingInstanceDetails withInstanceId(String instanceId)
The instance ID of the Amazon EC2 instance.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 16
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
instanceId - The instance ID of the Amazon EC2 instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getAutoScalingGroupName

public String getAutoScalingGroupName()
The name of the Auto Scaling group associated with this instance.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name of the Auto Scaling group associated with this instance.

setAutoScalingGroupName

public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group associated with this instance.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
autoScalingGroupName - The name of the Auto Scaling group associated with this instance.

withAutoScalingGroupName

public AutoScalingInstanceDetails withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group associated with this instance.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
autoScalingGroupName - The name of the Auto Scaling group associated with this instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZone

public String getAvailabilityZone()
The Availability Zone in which this instance resides.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The Availability Zone in which this instance resides.

setAvailabilityZone

public void setAvailabilityZone(String availabilityZone)
The Availability Zone in which this instance resides.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
availabilityZone - The Availability Zone in which this instance resides.

withAvailabilityZone

public AutoScalingInstanceDetails withAvailabilityZone(String availabilityZone)
The Availability Zone in which this instance resides.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
availabilityZone - The Availability Zone in which this instance resides.
Returns:
A reference to this updated object so that method calls can be chained together.

getLifecycleState

public String getLifecycleState()
The life cycle state of this instance.

Constraints:
Length: 1 - 32
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The life cycle state of this instance.

setLifecycleState

public void setLifecycleState(String lifecycleState)
The life cycle state of this instance.

Constraints:
Length: 1 - 32
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
lifecycleState - The life cycle state of this instance.

withLifecycleState

public AutoScalingInstanceDetails withLifecycleState(String lifecycleState)
The life cycle state of this instance.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 32
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
lifecycleState - The life cycle state of this instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getHealthStatus

public String getHealthStatus()
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.

Constraints:
Length: 1 - 32
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
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.

setHealthStatus

public void setHealthStatus(String 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.

Constraints:
Length: 1 - 32
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
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.

withHealthStatus

public AutoScalingInstanceDetails withHealthStatus(String 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 32
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getLaunchConfigurationName

public String getLaunchConfigurationName()
The launch configuration associated with this instance.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The launch configuration associated with this instance.

setLaunchConfigurationName

public void setLaunchConfigurationName(String launchConfigurationName)
The launch configuration associated with this instance.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
launchConfigurationName - The launch configuration associated with this instance.

withLaunchConfigurationName

public AutoScalingInstanceDetails withLaunchConfigurationName(String launchConfigurationName)
The launch configuration associated with this instance.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
launchConfigurationName - The launch configuration associated with this instance.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.