@Generated(value="software.amazon.awssdk:codegen") public class InstanceState extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
name()
The state of the instance (e.g.,
running or pending). |
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() |
copypublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<InstanceState.Builder,InstanceState>public static InstanceState.Builder builder()
public static Class<? extends InstanceState.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.