@Generated(value="software.amazon.awssdk:codegen") public final class InstanceStateChangeReason extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceStateChangeReason.Builder,InstanceStateChangeReason>
The details of the status change reason for the instance.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceStateChangeReason.Builder |
Modifier and Type | Method and Description |
---|---|
static InstanceStateChangeReason.Builder |
builder() |
InstanceStateChangeReasonCode |
code()
The programmable code for the state change reason.
|
String |
codeAsString()
The programmable code for the state change reason.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
The status change reason description.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceStateChangeReason.Builder> |
serializableBuilderClass() |
InstanceStateChangeReason.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final InstanceStateChangeReasonCode code()
The programmable code for the state change reason.
If the service returns an enum value that is not available in the current SDK version, code
will return
InstanceStateChangeReasonCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from codeAsString()
.
InstanceStateChangeReasonCode
public final String codeAsString()
The programmable code for the state change reason.
If the service returns an enum value that is not available in the current SDK version, code
will return
InstanceStateChangeReasonCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from codeAsString()
.
InstanceStateChangeReasonCode
public final String message()
The status change reason description.
public InstanceStateChangeReason.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<InstanceStateChangeReason.Builder,InstanceStateChangeReason>
public static InstanceStateChangeReason.Builder builder()
public static Class<? extends InstanceStateChangeReason.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.