@Generated(value="software.amazon.awssdk:codegen") public final class InstanceStateChange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceStateChange.Builder,InstanceStateChange>
Describes an instance state change.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceStateChange.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceStateChange.Builder |
builder() |
InstanceState |
currentState()
The current state of the instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
The ID of the instance.
|
InstanceState |
previousState()
The previous state of the instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceStateChange.Builder> |
serializableBuilderClass() |
InstanceStateChange.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic InstanceState currentState()
The current state of the instance.
public String instanceId()
The ID of the instance.
public InstanceState previousState()
The previous state of the instance.
public InstanceStateChange.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceStateChange.Builder,InstanceStateChange>public static InstanceStateChange.Builder builder()
public static Class<? extends InstanceStateChange.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.