@Generated(value="software.amazon.awssdk:codegen") public final class InstanceGroupStatus extends Object implements StructuredPojo, ToCopyableBuilder<InstanceGroupStatus.Builder,InstanceGroupStatus>
The details of the instance group status.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceGroupStatus.Builder |
Modifier and Type | Method and Description |
---|---|
static InstanceGroupStatus.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends InstanceGroupStatus.Builder> |
serializableBuilderClass() |
InstanceGroupState |
state()
The current state of the instance group.
|
String |
stateAsString()
The current state of the instance group.
|
InstanceGroupStateChangeReason |
stateChangeReason()
The status change reason details for the instance group.
|
InstanceGroupTimeline |
timeline()
The timeline of the instance group status over time.
|
InstanceGroupStatus.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public InstanceGroupState state()
The current state of the instance group.
If the service returns an enum value that is not available in the current SDK version, state
will return
InstanceGroupState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
InstanceGroupState
public String stateAsString()
The current state of the instance group.
If the service returns an enum value that is not available in the current SDK version, state
will return
InstanceGroupState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
InstanceGroupState
public InstanceGroupStateChangeReason stateChangeReason()
The status change reason details for the instance group.
public InstanceGroupTimeline timeline()
The timeline of the instance group status over time.
public InstanceGroupStatus.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceGroupStatus.Builder,InstanceGroupStatus>
public static InstanceGroupStatus.Builder builder()
public static Class<? extends InstanceGroupStatus.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.