|
|||||||
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(Object obj)
|
String |
getAvailabilityZone()
Availability Zones associated with this instance. |
String |
getHealthStatus()
The instance's health status. |
String |
getInstanceId()
Specifies the ID of the Amazon EC2 instance. |
String |
getLaunchConfigurationName()
The launch configuration associated with this instance. |
String |
getLifecycleState()
Contains a description of the current lifecycle state. |
int |
hashCode()
|
void |
setAvailabilityZone(String availabilityZone)
Availability Zones associated with this instance. |
void |
setHealthStatus(String healthStatus)
The instance's health status. |
void |
setInstanceId(String instanceId)
Specifies the ID of the Amazon EC2 instance. |
void |
setLaunchConfigurationName(String launchConfigurationName)
The launch configuration associated with this instance. |
void |
setLifecycleState(LifecycleState lifecycleState)
Contains a description of the current lifecycle state. |
void |
setLifecycleState(String lifecycleState)
Contains a description of the current lifecycle state. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Instance |
withAvailabilityZone(String availabilityZone)
Availability Zones associated with this instance. |
Instance |
withHealthStatus(String healthStatus)
The instance's health status. |
Instance |
withInstanceId(String instanceId)
Specifies the ID of the Amazon EC2 instance. |
Instance |
withLaunchConfigurationName(String launchConfigurationName)
The launch configuration associated with this instance. |
Instance |
withLifecycleState(LifecycleState lifecycleState)
Contains a description of the current lifecycle state. |
Instance |
withLifecycleState(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 String getInstanceId()
Constraints:
Length: 1 - 16
Pattern: [ --�𐀀-\r\n\t]*
public void setInstanceId(String instanceId)
Constraints:
Length: 1 - 16
Pattern: [ --�𐀀-\r\n\t]*
instanceId
- Specifies the ID of the Amazon EC2 instance.public Instance 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
- Specifies the ID of the Amazon EC2 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
- Availability Zones associated with this instance.public Instance 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
- Availability Zones associated with this instance.
public String getLifecycleState()
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
LifecycleState
public void setLifecycleState(String lifecycleState)
Constraints:
Allowed Values: Pending, Quarantined, InService, Terminating, Terminated
lifecycleState
- Contains a description of the current lifecycle state.LifecycleState
public Instance withLifecycleState(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 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 instance's health status.public Instance 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 instance's health status.
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 Instance 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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |