public class InstanceState
extends java.lang.Object
implements java.io.Serializable
The InstanceState data type.
| コンストラクタと説明 |
|---|
InstanceState()
Default constructor for a new InstanceState object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Provides a description of the instance.
|
java.lang.String |
getInstanceId()
Provides an EC2 instance ID.
|
java.lang.String |
getReasonCode()
Provides information about the cause of OutOfService instances.
|
java.lang.String |
getState()
Specifies the current status of the instance.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
Provides a description of the instance.
|
void |
setInstanceId(java.lang.String instanceId)
Provides an EC2 instance ID.
|
void |
setReasonCode(java.lang.String reasonCode)
Provides information about the cause of OutOfService instances.
|
void |
setState(java.lang.String state)
Specifies the current status of the instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceState |
withDescription(java.lang.String description)
Provides a description of the instance.
|
InstanceState |
withInstanceId(java.lang.String instanceId)
Provides an EC2 instance ID.
|
InstanceState |
withReasonCode(java.lang.String reasonCode)
Provides information about the cause of OutOfService instances.
|
InstanceState |
withState(java.lang.String state)
Specifies the current status of the instance.
|
public InstanceState()
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId - Provides an EC2 instance ID.public InstanceState withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId - Provides an EC2 instance ID.public java.lang.String getState()
public void setState(java.lang.String state)
state - Specifies the current status of the instance.public InstanceState withState(java.lang.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 java.lang.String getReasonCode()
public void setReasonCode(java.lang.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 LoadBalancer.public InstanceState withReasonCode(java.lang.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 LoadBalancer.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - Provides a description of the instance.public InstanceState withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description - Provides a description of the instance.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object