@Generated(value="software.amazon.awssdk:codegen") public final class InstanceState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceState.Builder,InstanceState>
Describes the virtual private server (or instance) status.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceState.Builder |
Modifier and Type | Method and Description |
---|---|
static InstanceState.Builder |
builder() |
Integer |
code()
The status code for the instance.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The state of the instance (e.g.,
running or pending ). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceState.Builder> |
serializableBuilderClass() |
InstanceState.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer code()
The status code for the instance.
public String name()
The state of the instance (e.g., running
or pending
).
running
or pending
).public InstanceState.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceState.Builder,InstanceState>
public static InstanceState.Builder builder()
public static Class<? extends InstanceState.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.