StructuredPojo
, ToCopyableBuilder<InstanceState.Builder,InstanceState>
@Generated("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 | Description |
---|---|---|
static interface |
InstanceState.Builder |
Modifier and Type | Method | Description |
---|---|---|
static InstanceState.Builder |
builder() |
|
Integer |
code() |
The status code for the instance.
|
boolean |
equals(Object obj) |
|
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() |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.