public static interface InstanceState.Builder extends SdkPojo, CopyableBuilder<InstanceState.Builder,InstanceState>
Modifier and Type | Method and Description |
---|---|
InstanceState.Builder |
code(Integer code)
The low byte represents the state.
|
InstanceState.Builder |
name(InstanceStateName name)
The current state of the instance.
|
InstanceState.Builder |
name(String name)
The current state of the instance.
|
copy
applyMutation, build
InstanceState.Builder code(Integer code)
The low byte represents the state. The high byte is used for internal purposes 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 used for internal purposes 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.InstanceStateName
,
InstanceStateName
InstanceState.Builder name(InstanceStateName name)
The current state of the instance.
name
- The current state of the instance.InstanceStateName
,
InstanceStateName
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.