@Generated(value="software.amazon.awssdk:codegen") public class InstanceStateChange extends Object implements 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) |
<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.
|
static Class<? extends InstanceStateChange.Builder> |
serializableBuilderClass() |
InstanceStateChange.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceStateChange.Builder,InstanceStateChange>
public static InstanceStateChange.Builder builder()
public static Class<? extends InstanceStateChange.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.