|
Did this page help you?Yes No Tell us about it... |
||||||
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: [ -??-??-?\r\n\t]*
public void setInstanceId(java.lang.String instanceId)
Constraints:
Length: 1 - 16
Pattern: [ -??-??-?\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: [ -??-??-?\r\n\t]*
instanceId
- Specifies the ID of the Amazon EC2 instance.
public java.lang.String getAvailabilityZone()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setAvailabilityZone(java.lang.String availabilityZone)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\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: [ -??-??-?\r\n\t]*
availabilityZone
- Availability Zones associated with this instance.
public java.lang.String getLifecycleState()
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
LifecycleState
public void setLifecycleState(java.lang.String lifecycleState)
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
lifecycleState
- Contains a description of the current lifecycle state.LifecycleState
public Instance withLifecycleState(java.lang.String lifecycleState)
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.
LifecycleState
public void setLifecycleState(LifecycleState lifecycleState)
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
lifecycleState
- Contains a description of the current lifecycle state.LifecycleState
public Instance withLifecycleState(LifecycleState lifecycleState)
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.
LifecycleState
public java.lang.String getHealthStatus()
Constraints:
Length: 1 - 32
Pattern: [ -??-??-?\r\n\t]*
public void setHealthStatus(java.lang.String healthStatus)
Constraints:
Length: 1 - 32
Pattern: [ -??-??-?\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: [ -??-??-?\r\n\t]*
healthStatus
- The instance's health status.
public java.lang.String getLaunchConfigurationName()
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\r\n\t]*
public void setLaunchConfigurationName(java.lang.String launchConfigurationName)
Constraints:
Length: 1 - 255
Pattern: [ -??-??-?\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: [ -??-??-?\r\n\t]*
launchConfigurationName
- The launch configuration associated with this instance.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public 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 |