public static interface InstanceGroupStatus.Builder extends SdkPojo, CopyableBuilder<InstanceGroupStatus.Builder,InstanceGroupStatus>
Modifier and Type | Method and Description |
---|---|
InstanceGroupStatus.Builder |
state(InstanceGroupState state)
The current state of the instance group.
|
InstanceGroupStatus.Builder |
state(String state)
The current state of the instance group.
|
default InstanceGroupStatus.Builder |
stateChangeReason(Consumer<InstanceGroupStateChangeReason.Builder> stateChangeReason)
The status change reason details for the instance group.
|
InstanceGroupStatus.Builder |
stateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
The status change reason details for the instance group.
|
default InstanceGroupStatus.Builder |
timeline(Consumer<InstanceGroupTimeline.Builder> timeline)
The timeline of the instance group status over time.
|
InstanceGroupStatus.Builder |
timeline(InstanceGroupTimeline timeline)
The timeline of the instance group status over time.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
InstanceGroupStatus.Builder state(String state)
The current state of the instance group.
state
- The current state of the instance group.InstanceGroupState
,
InstanceGroupState
InstanceGroupStatus.Builder state(InstanceGroupState state)
The current state of the instance group.
state
- The current state of the instance group.InstanceGroupState
,
InstanceGroupState
InstanceGroupStatus.Builder stateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
The status change reason details for the instance group.
stateChangeReason
- The status change reason details for the instance group.default InstanceGroupStatus.Builder stateChangeReason(Consumer<InstanceGroupStateChangeReason.Builder> stateChangeReason)
The status change reason details for the instance group.
This is a convenience that creates an instance of theInstanceGroupStateChangeReason.Builder
avoiding
the need to create one manually via InstanceGroupStateChangeReason.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to stateChangeReason(InstanceGroupStateChangeReason)
.stateChangeReason
- a consumer that will call methods on InstanceGroupStateChangeReason.Builder
stateChangeReason(InstanceGroupStateChangeReason)
InstanceGroupStatus.Builder timeline(InstanceGroupTimeline timeline)
The timeline of the instance group status over time.
timeline
- The timeline of the instance group status over time.default InstanceGroupStatus.Builder timeline(Consumer<InstanceGroupTimeline.Builder> timeline)
The timeline of the instance group status over time.
This is a convenience that creates an instance of theInstanceGroupTimeline.Builder
avoiding the need
to create one manually via InstanceGroupTimeline.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to timeline(InstanceGroupTimeline)
.timeline
- a consumer that will call methods on InstanceGroupTimeline.Builder
timeline(InstanceGroupTimeline)
Copyright © 2021. All rights reserved.