|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.InstanceStatus
public class InstanceStatus
Describes the status of an instance.
Constructor Summary | |
---|---|
InstanceStatus()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAvailabilityZone()
The Availability Zone of the instance. |
java.util.List<InstanceStatusEvent> |
getEvents()
Extra information regarding events associated with the instance. |
java.lang.String |
getInstanceId()
The ID of the instance. |
InstanceState |
getInstanceState()
The intended state of the instance. |
InstanceStatusSummary |
getInstanceStatus()
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability. |
InstanceStatusSummary |
getSystemStatus()
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems. |
int |
hashCode()
|
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone of the instance. |
void |
setEvents(java.util.Collection<InstanceStatusEvent> events)
Extra information regarding events associated with the instance. |
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance. |
void |
setInstanceState(InstanceState instanceState)
The intended state of the instance. |
void |
setInstanceStatus(InstanceStatusSummary instanceStatus)
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability. |
void |
setSystemStatus(InstanceStatusSummary systemStatus)
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceStatus |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone of the instance. |
InstanceStatus |
withEvents(java.util.Collection<InstanceStatusEvent> events)
Extra information regarding events associated with the instance. |
InstanceStatus |
withEvents(InstanceStatusEvent... events)
Extra information regarding events associated with the instance. |
InstanceStatus |
withInstanceId(java.lang.String instanceId)
The ID of the instance. |
InstanceStatus |
withInstanceState(InstanceState instanceState)
The intended state of the instance. |
InstanceStatus |
withInstanceStatus(InstanceStatusSummary instanceStatus)
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability. |
InstanceStatus |
withSystemStatus(InstanceStatusSummary systemStatus)
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceStatus()
Method Detail |
---|
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- The ID of the 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 instance.
public java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone
- The Availability Zone of the instance.public InstanceStatus withAvailabilityZone(java.lang.String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone of the instance.
public java.util.List<InstanceStatusEvent> getEvents()
public void setEvents(java.util.Collection<InstanceStatusEvent> events)
events
- Extra information regarding events associated with the instance.public InstanceStatus withEvents(InstanceStatusEvent... events)
Returns a reference to this object so that method calls can be chained together.
events
- Extra information regarding events associated with the instance.
public InstanceStatus withEvents(java.util.Collection<InstanceStatusEvent> events)
Returns a reference to this object so that method calls can be chained together.
events
- Extra information regarding events associated with the instance.
public InstanceState getInstanceState()
running
state.
running
state.public void setInstanceState(InstanceState instanceState)
running
state.
instanceState
- The intended state of the instance. DescribeInstanceStatus
requires that an instance be in the running
state.public InstanceStatus withInstanceState(InstanceState instanceState)
running
state.
Returns a reference to this object so that method calls can be chained together.
instanceState
- The intended state of the instance. DescribeInstanceStatus
requires that an instance be in the running
state.
public InstanceStatusSummary getSystemStatus()
public void setSystemStatus(InstanceStatusSummary systemStatus)
systemStatus
- Reports impaired functionality that stems from issues related to the
systems that support an instance, such as hardware failures and
network connectivity problems.public InstanceStatus withSystemStatus(InstanceStatusSummary systemStatus)
Returns a reference to this object so that method calls can be chained together.
systemStatus
- Reports impaired functionality that stems from issues related to the
systems that support an instance, such as hardware failures and
network connectivity problems.
public InstanceStatusSummary getInstanceStatus()
public void setInstanceStatus(InstanceStatusSummary instanceStatus)
instanceStatus
- Reports impaired functionality that stems from issues internal to the
instance, such as impaired reachability.public InstanceStatus withInstanceStatus(InstanceStatusSummary instanceStatus)
Returns a reference to this object so that method calls can be chained together.
instanceStatus
- Reports impaired functionality that stems from issues internal to the
instance, such as impaired reachability.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |