Class InstanceStatus
- All Implemented Interfaces:
Serializable, Cloneable
Describes the status of an instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe Availability Zone of the instance.Any scheduled events associated with the instance.The ID of the instance.The intended state of the instance.Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.inthashCode()voidsetAvailabilityZone(String availabilityZone) The Availability Zone of the instance.voidsetEvents(Collection<InstanceStatusEvent> events) Any scheduled events associated with the instance.voidsetInstanceId(String instanceId) The ID of the instance.voidsetInstanceState(InstanceState instanceState) The intended state of the instance.voidsetInstanceStatus(InstanceStatusSummary instanceStatus) Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.voidsetSystemStatus(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.toString()Returns a string representation of this object; useful for testing and debugging.withAvailabilityZone(String availabilityZone) The Availability Zone of the instance.withEvents(InstanceStatusEvent... events) Any scheduled events associated with the instance.withEvents(Collection<InstanceStatusEvent> events) Any scheduled events associated with the instance.withInstanceId(String instanceId) The ID of the instance.withInstanceState(InstanceState instanceState) The intended state of the instance.withInstanceStatus(InstanceStatusSummary instanceStatus) Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.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.
-
Constructor Details
-
InstanceStatus
public InstanceStatus()
-
-
Method Details
-
setInstanceId
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.
-
getInstanceId
-
withInstanceId
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAvailabilityZone
The Availability Zone of the instance.
- Parameters:
availabilityZone- The Availability Zone of the instance.
-
getAvailabilityZone
The Availability Zone of the instance.
- Returns:
- The Availability Zone of the instance.
-
withAvailabilityZone
The Availability Zone of the instance.
- Parameters:
availabilityZone- The Availability Zone of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEvents
Any scheduled events associated with the instance.
- Returns:
- Any scheduled events associated with the instance.
-
setEvents
Any scheduled events associated with the instance.
- Parameters:
events- Any scheduled events associated with the instance.
-
withEvents
Any scheduled events associated with the instance.
NOTE: This method appends the values to the existing list (if any). Use
setEvents(java.util.Collection)orwithEvents(java.util.Collection)if you want to override the existing values.- Parameters:
events- Any scheduled events associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEvents
Any scheduled events associated with the instance.
- Parameters:
events- Any scheduled events associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceState
The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
runningstate.- Parameters:
instanceState- The intended state of the instance. DescribeInstanceStatus requires that an instance be in therunningstate.
-
getInstanceState
The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
runningstate.- Returns:
- The intended state of the instance. DescribeInstanceStatus
requires that an instance be in the
runningstate.
-
withInstanceState
The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
runningstate.- Parameters:
instanceState- The intended state of the instance. DescribeInstanceStatus requires that an instance be in therunningstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSystemStatus
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
- Parameters:
systemStatus- Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
-
getSystemStatus
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
- Returns:
- Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
-
withSystemStatus
Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.
- Parameters:
systemStatus- Reports impaired functionality that stems from issues related to the systems that support an instance, such as hardware failures and network connectivity problems.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceStatus
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
- Parameters:
instanceStatus- Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
-
getInstanceStatus
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
- Returns:
- Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
-
withInstanceStatus
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
- Parameters:
instanceStatus- Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-