public class InstanceStatus extends Object implements Serializable
Constructor and Description |
---|
InstanceStatus() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone of the instance.
|
List<InstanceStatusEvent> |
getEvents()
Any scheduled events associated with the instance.
|
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(String availabilityZone)
The Availability Zone of the instance.
|
void |
setEvents(Collection<InstanceStatusEvent> events)
Any scheduled events associated with the instance.
|
void |
setInstanceId(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public void setAvailabilityZone(String availabilityZone)
The Availability Zone of the instance.
availabilityZone
- The Availability Zone of the instance.public String getAvailabilityZone()
The Availability Zone of the instance.
public List<InstanceStatusEvent> getEvents()
Any scheduled events associated with the instance.
public void setEvents(Collection<InstanceStatusEvent> events)
Any scheduled events associated with the instance.
events
- Any scheduled events associated with the instance.public void setInstanceState(InstanceState instanceState)
The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
running
state.
instanceState
- The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
running
state.public InstanceState getInstanceState()
The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
running
state.
running
state.public 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.
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 getSystemStatus()
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
public void setInstanceStatus(InstanceStatusSummary instanceStatus)
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
instanceStatus
- Reports impaired functionality that stems from issues internal to the instance, such as impaired
reachability.public InstanceStatusSummary getInstanceStatus()
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2010–2020. All rights reserved.