|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.autoscaling.model.Instance
public class Instance
The Instance data type.
| Constructor Summary | |
|---|---|
Instance()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAvailabilityZone()
Availability Zones associated with this instance. |
java.lang.String |
getHealthStatus()
The instance's health status. |
java.lang.String |
getInstanceId()
Specifies the ID of the Amazon EC2 instance. |
java.lang.String |
getLaunchConfigurationName()
The launch configuration associated with this instance. |
java.lang.String |
getLifecycleState()
Contains a description of the current lifecycle state. |
int |
hashCode()
|
void |
setAvailabilityZone(java.lang.String availabilityZone)
Availability Zones associated with this instance. |
void |
setHealthStatus(java.lang.String healthStatus)
The instance's health status. |
void |
setInstanceId(java.lang.String instanceId)
Specifies the ID of the Amazon EC2 instance. |
void |
setLaunchConfigurationName(java.lang.String launchConfigurationName)
The launch configuration associated with this instance. |
void |
setLifecycleState(LifecycleState lifecycleState)
Contains a description of the current lifecycle state. |
void |
setLifecycleState(java.lang.String lifecycleState)
Contains a description of the current lifecycle state. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Instance |
withAvailabilityZone(java.lang.String availabilityZone)
Availability Zones associated with this instance. |
Instance |
withHealthStatus(java.lang.String healthStatus)
The instance's health status. |
Instance |
withInstanceId(java.lang.String instanceId)
Specifies the ID of the Amazon EC2 instance. |
Instance |
withLaunchConfigurationName(java.lang.String launchConfigurationName)
The launch configuration associated with this instance. |
Instance |
withLifecycleState(LifecycleState lifecycleState)
Contains a description of the current lifecycle state. |
Instance |
withLifecycleState(java.lang.String lifecycleState)
Contains a description of the current lifecycle state. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Instance()
| Method Detail |
|---|
public java.lang.String getInstanceId()
Constraints:
Length: 1 - 16
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setInstanceId(java.lang.String instanceId)
Constraints:
Length: 1 - 16
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
instanceId - Specifies the ID of the Amazon EC2 instance.public Instance withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 16
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
instanceId - Specifies the ID of the Amazon EC2 instance.
public java.lang.String getAvailabilityZone()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAvailabilityZone(java.lang.String availabilityZone)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
availabilityZone - Availability Zones associated with this instance.public Instance withAvailabilityZone(java.lang.String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
availabilityZone - Availability Zones associated with this instance.
public java.lang.String getLifecycleState()
The Quarantined lifecycle state is currently not used.
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
The Quarantined lifecycle state is currently not used.
LifecycleStatepublic void setLifecycleState(java.lang.String lifecycleState)
The Quarantined lifecycle state is currently not used.
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
lifecycleState - Contains a description of the current lifecycle state. The Quarantined lifecycle state is currently not used.
LifecycleStatepublic Instance withLifecycleState(java.lang.String lifecycleState)
The Quarantined lifecycle state is currently not used.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
lifecycleState - Contains a description of the current lifecycle state. The Quarantined lifecycle state is currently not used.
LifecycleStatepublic void setLifecycleState(LifecycleState lifecycleState)
The Quarantined lifecycle state is currently not used.
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
lifecycleState - Contains a description of the current lifecycle state. The Quarantined lifecycle state is currently not used.
LifecycleStatepublic Instance withLifecycleState(LifecycleState lifecycleState)
The Quarantined lifecycle state is currently not used.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
lifecycleState - Contains a description of the current lifecycle state. The Quarantined lifecycle state is currently not used.
LifecycleStatepublic java.lang.String getHealthStatus()
Constraints:
Length: 1 - 32
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setHealthStatus(java.lang.String healthStatus)
Constraints:
Length: 1 - 32
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
healthStatus - The instance's health status.public Instance withHealthStatus(java.lang.String healthStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 32
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
healthStatus - The instance's health status.
public java.lang.String getLaunchConfigurationName()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setLaunchConfigurationName(java.lang.String launchConfigurationName)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
launchConfigurationName - The launch configuration associated with this instance.public Instance withLaunchConfigurationName(java.lang.String launchConfigurationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
launchConfigurationName - The launch configuration associated with this instance.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||