@Generated(value="software.amazon.awssdk:codegen") public final class InstanceStatus extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
List<InstanceStatusEvent> |
events()
Any scheduled events associated with the instance.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEvents()
Returns true if the Events property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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.
|
String |
outpostArn()
The Amazon Resource Name (ARN) of the Outpost.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String availabilityZone()
The Availability Zone of the instance.
public String outpostArn()
The Amazon Resource Name (ARN) of the Outpost.
public boolean hasEvents()
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.
You can use hasEvents() to see if a value was sent in this field.
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()
toBuilder in interface ToCopyableBuilder<InstanceStatus.Builder,InstanceStatus>public static InstanceStatus.Builder builder()
public static Class<? extends InstanceStatus.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.