@Generated(value="software.amazon.awssdk:codegen") public class InstanceState extends Object implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<InstanceState.Builder,InstanceState>
Describes the current state of an instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceState.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceState.Builder |
builder() |
Integer |
code()
The low byte represents the state.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
name()
The current state of the instance.
|
static Class<? extends InstanceState.Builder> |
serializableBuilderClass() |
InstanceState.Builder |
toBuilder() |
String |
toString() |
public Integer code()
The low byte represents the state. The high byte is an opaque internal value and should be ignored.
0 : pending
16 : running
32 : shutting-down
48 : terminated
64 : stopping
80 : stopped
0 : pending
16 : running
32 : shutting-down
48 : terminated
64 : stopping
80 : stopped
public String name()
The current state of the instance.
InstanceStateNamepublic InstanceState.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<InstanceState.Builder,InstanceState>public static InstanceState.Builder builder()
public static Class<? extends InstanceState.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.