CopyableBuilder<InstanceStatus.Builder,InstanceStatus>
, SdkBuilder<InstanceStatus.Builder,InstanceStatus>
public static interface InstanceStatus.Builder extends CopyableBuilder<InstanceStatus.Builder,InstanceStatus>
Modifier and Type | Method | Description |
---|---|---|
InstanceStatus.Builder |
state(String state) |
The current state of the instance.
|
InstanceStatus.Builder |
state(InstanceState state) |
The current state of the instance.
|
InstanceStatus.Builder |
stateChangeReason(InstanceStateChangeReason stateChangeReason) |
The details of the status change reason for the instance.
|
InstanceStatus.Builder |
timeline(InstanceTimeline timeline) |
The timeline of the instance status over time.
|
copy
apply, build
InstanceStatus.Builder state(String state)
The current state of the instance.
state
- The current state of the instance.InstanceState
InstanceStatus.Builder state(InstanceState state)
The current state of the instance.
state
- The current state of the instance.InstanceState
InstanceStatus.Builder stateChangeReason(InstanceStateChangeReason stateChangeReason)
The details of the status change reason for the instance.
stateChangeReason
- The details of the status change reason for the instance.InstanceStatus.Builder timeline(InstanceTimeline timeline)
The timeline of the instance status over time.
timeline
- The timeline of the instance status over time.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.