|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazonaws.services.elasticloadbalancing.model.InstanceState
public class InstanceState
The InstanceState data type.
| Constructor Summary | |
|---|---|
InstanceState()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
|
String |
getInstanceId()
Provides an EC2 instance ID. |
String |
getReasonCode()
Provides information about the cause of OutOfService instances. |
String |
getState()
Specifies the current status of the instance. |
void |
setDescription(String description)
|
void |
setInstanceId(String instanceId)
Provides an EC2 instance ID. |
void |
setReasonCode(String reasonCode)
Provides information about the cause of OutOfService instances. |
void |
setState(String state)
Specifies the current status of the instance. |
InstanceState |
withDescription(String description)
Returns a reference to this object so that method calls can be chained together. |
InstanceState |
withInstanceId(String instanceId)
Provides an EC2 instance ID. |
InstanceState |
withReasonCode(String reasonCode)
Provides information about the cause of OutOfService instances. |
InstanceState |
withState(String state)
Specifies the current status of the instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceState()
| Method Detail |
|---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId - Provides an EC2 instance ID.public InstanceState withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId - Provides an EC2 instance ID.
public String getState()
public void setState(String state)
state - Specifies the current status of the instance.public InstanceState withState(String state)
Returns a reference to this object so that method calls can be chained together.
state - Specifies the current status of the instance.
public String getReasonCode()
public void setReasonCode(String reasonCode)
reasonCode - Provides information about the cause of OutOfService instances.
Specifically, it indicates whether the cause is Elastic Load Balancing
or the instance behind the Load Balancer.public InstanceState withReasonCode(String reasonCode)
Returns a reference to this object so that method calls can be chained together.
reasonCode - Provides information about the cause of OutOfService instances.
Specifically, it indicates whether the cause is Elastic Load Balancing
or the instance behind the Load Balancer.
public String getDescription()
public void setDescription(String description)
description - public InstanceState withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||