CopyableBuilder<InstanceState.Builder,InstanceState>, SdkBuilder<InstanceState.Builder,InstanceState>public static interface InstanceState.Builder extends CopyableBuilder<InstanceState.Builder,InstanceState>
| Modifier and Type | Method | Description |
|---|---|---|
InstanceState.Builder |
code(Integer code) |
The low byte represents the state.
|
InstanceState.Builder |
name(String name) |
The current state of the instance.
|
InstanceState.Builder |
name(InstanceStateName name) |
The current state of the instance.
|
copyapply, buildInstanceState.Builder code(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
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
InstanceState.Builder name(String name)
The current state of the instance.
name - The current state of the instance.InstanceStateNameInstanceState.Builder name(InstanceStateName name)
The current state of the instance.
name - The current state of the instance.InstanceStateNameCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.