@Generated(value="software.amazon.awssdk:codegen") public final class InstanceStatus extends Object implements ToCopyableBuilder<InstanceStatus.Builder,InstanceStatus>
Describes the status of an instance.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceStatus.Builder |
Modifier and Type | Method and Description |
---|---|
String |
availabilityZone()
The Availability Zone of the instance.
|
static InstanceStatus.Builder |
builder() |
boolean |
equals(Object obj) |
List<InstanceStatusEvent> |
events()
Any scheduled events associated with the instance.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
The ID of the instance.
|
InstanceState |
instanceState()
The intended state of the instance.
|
InstanceStatusSummary |
instanceStatus()
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
|
static Class<? extends InstanceStatus.Builder> |
serializableBuilderClass() |
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.
|
InstanceStatus.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String availabilityZone()
The Availability Zone of the instance.
public List<InstanceStatusEvent> events()
Any scheduled events associated with the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String instanceId()
The ID of the instance.
public InstanceState instanceState()
The intended state of the instance. DescribeInstanceStatus requires that an instance be in the
running
state.
running
state.public InstanceStatusSummary instanceStatus()
Reports impaired functionality that stems from issues internal to the instance, such as impaired reachability.
public 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.
public InstanceStatus.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceStatus.Builder,InstanceStatus>
public static InstanceStatus.Builder builder()
public static Class<? extends InstanceStatus.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.