public class InstanceStatus
extends java.lang.Object
implements java.io.Serializable
Represents the status of an Amazon EC2 instance.
| コンストラクタと説明 |
|---|
InstanceStatus() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
The Amazon EC2 instance's availability zone.
|
java.util.List<InstanceStatusEvent> |
getEvents()
Events that affect the status of the associated Amazon EC2 instance.
|
java.lang.String |
getInstanceId()
The ID of the Amazon EC2 instance.
|
InstanceState |
getInstanceState()
Represents the state of an Amazon EC2 instance.
|
InstanceStatusSummary |
getInstanceStatus()
Returns the value of the InstanceStatus property for this object.
|
InstanceStatusSummary |
getSystemStatus()
Returns the value of the SystemStatus property for this object.
|
int |
hashCode() |
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Amazon EC2 instance's availability zone.
|
void |
setEvents(java.util.Collection<InstanceStatusEvent> events)
Events that affect the status of the associated Amazon EC2 instance.
|
void |
setInstanceId(java.lang.String instanceId)
The ID of the Amazon EC2 instance.
|
void |
setInstanceState(InstanceState instanceState)
Represents the state of an Amazon EC2 instance.
|
void |
setInstanceStatus(InstanceStatusSummary instanceStatus)
Sets the value of the InstanceStatus property for this object.
|
void |
setSystemStatus(InstanceStatusSummary systemStatus)
Sets the value of the SystemStatus property for this object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceStatus |
withAvailabilityZone(java.lang.String availabilityZone)
The Amazon EC2 instance's availability zone.
|
InstanceStatus |
withEvents(java.util.Collection<InstanceStatusEvent> events)
Events that affect the status of the associated Amazon EC2 instance.
|
InstanceStatus |
withEvents(InstanceStatusEvent... events)
Events that affect the status of the associated Amazon EC2 instance.
|
InstanceStatus |
withInstanceId(java.lang.String instanceId)
The ID of the Amazon EC2 instance.
|
InstanceStatus |
withInstanceState(InstanceState instanceState)
Represents the state of an Amazon EC2 instance.
|
InstanceStatus |
withInstanceStatus(InstanceStatusSummary instanceStatus)
Sets the value of the InstanceStatus property for this object.
|
InstanceStatus |
withSystemStatus(InstanceStatusSummary systemStatus)
Sets the value of the SystemStatus property for this object.
|
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId - The ID of the Amazon EC2 instance.public InstanceStatus withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId - The ID of the Amazon EC2 instance.public java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone - The Amazon EC2 instance's availability zone.public InstanceStatus withAvailabilityZone(java.lang.String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone - The Amazon EC2 instance's availability zone.public java.util.List<InstanceStatusEvent> getEvents()
public void setEvents(java.util.Collection<InstanceStatusEvent> events)
events - Events that affect the status of the associated Amazon EC2 instance.public InstanceStatus withEvents(InstanceStatusEvent... events)
Returns a reference to this object so that method calls can be chained together.
events - Events that affect the status of the associated Amazon EC2 instance.public InstanceStatus withEvents(java.util.Collection<InstanceStatusEvent> events)
Returns a reference to this object so that method calls can be chained together.
events - Events that affect the status of the associated Amazon EC2 instance.public InstanceState getInstanceState()
public void setInstanceState(InstanceState instanceState)
instanceState - Represents the state of an Amazon EC2 instance.public InstanceStatus withInstanceState(InstanceState instanceState)
Returns a reference to this object so that method calls can be chained together.
instanceState - Represents the state of an Amazon EC2 instance.public InstanceStatusSummary getSystemStatus()
public void setSystemStatus(InstanceStatusSummary systemStatus)
systemStatus - The new value for the SystemStatus property for this object.public InstanceStatus withSystemStatus(InstanceStatusSummary systemStatus)
Returns a reference to this object so that method calls can be chained together.
systemStatus - The new value for the SystemStatus property for this object.public InstanceStatusSummary getInstanceStatus()
public void setInstanceStatus(InstanceStatusSummary instanceStatus)
instanceStatus - The new value for the InstanceStatus property for this object.public InstanceStatus withInstanceStatus(InstanceStatusSummary instanceStatus)
Returns a reference to this object so that method calls can be chained together.
instanceStatus - The new value for the InstanceStatus property for this object.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