|
|||||||
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 | |
---|---|
String |
getAvailabilityZone()
Availability zones associated with this instance. |
String |
getHealthStatus()
The instance's health status. |
String |
getInstanceId()
Specifies the EC2 instance ID. |
String |
getLaunchConfigurationName()
The launch configuration associated with this instance. |
String |
getLifecycleState()
Contains a description of the current lifecycle state. |
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 EC2 instance ID. |
void |
setLaunchConfigurationName(String launchConfigurationName)
The launch configuration associated with this instance. |
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 EC2 instance ID. |
Instance |
withLaunchConfigurationName(String launchConfigurationName)
The launch configuration associated with this instance. |
Instance |
withLifecycleState(String lifecycleState)
Contains a description of the current lifecycle state. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, 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 EC2 instance ID.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 EC2 instance ID.
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:
Length: 1 - 32
Pattern: [ -??-??-?\r\n\t]*
public void setLifecycleState(String lifecycleState)
Constraints:
Length: 1 - 32
Pattern: [ -??-??-?\r\n\t]*
lifecycleState
- Contains a description of the current lifecycle state.public Instance 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
- Contains a description of the current lifecycle state.
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()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |