@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 |
nameString()
The type of instance status.
|
static Class<? extends InstanceStatusDetails.Builder> |
serializableBuilderClass() |
StatusType |
status()
The status.
|
String |
statusString()
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() |
copy
public 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
nameString()
.
StatusName
public String nameString()
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
nameString()
.
StatusName
public 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
statusString()
.
StatusType
public String statusString()
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
statusString()
.
StatusType
public InstanceStatusDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
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.