@Generated(value="software.amazon.awssdk:codegen") public class InstanceStatusDetails extends Object implements ToCopyableBuilder<InstanceStatusDetails.Builder,InstanceStatusDetails>
Describes the instance status.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceStatusDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceStatusDetails.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
impairedSince()
The time when a status check failed.
|
StatusName |
name()
The type of instance status.
|
String |
nameAsString()
The type of instance status.
|
static Class<? extends InstanceStatusDetails.Builder> |
serializableBuilderClass() |
StatusType |
status()
The status.
|
String |
statusAsString()
The status.
|
InstanceStatusDetails.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Instant impairedSince()
The time when a status check failed. For an instance that was launched and impaired, this is the time when the instance was launched.
public StatusName name()
The type of instance status.
If the service returns an enum value that is not available in the current SDK version, name will return
StatusName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
StatusNamepublic String nameAsString()
The type of instance status.
If the service returns an enum value that is not available in the current SDK version, name will return
StatusName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
StatusNamepublic StatusType status()
The status.
If the service returns an enum value that is not available in the current SDK version, status will
return StatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StatusTypepublic String statusAsString()
The status.
If the service returns an enum value that is not available in the current SDK version, status will
return StatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StatusTypepublic InstanceStatusDetails.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<InstanceStatusDetails.Builder,InstanceStatusDetails>public static InstanceStatusDetails.Builder builder()
public static Class<? extends InstanceStatusDetails.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.