Interface InstanceGroupStatus.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<InstanceGroupStatus.Builder,,InstanceGroupStatus> SdkBuilder<InstanceGroupStatus.Builder,,InstanceGroupStatus> SdkPojo
- Enclosing class:
 InstanceGroupStatus
public static interface InstanceGroupStatus.Builder
extends SdkPojo, CopyableBuilder<InstanceGroupStatus.Builder,InstanceGroupStatus> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe current state of the instance group.state(InstanceGroupState state) The current state of the instance group.default InstanceGroupStatus.BuilderstateChangeReason(Consumer<InstanceGroupStateChangeReason.Builder> stateChangeReason) The status change reason details for the instance group.stateChangeReason(InstanceGroupStateChangeReason stateChangeReason) The status change reason details for the instance group.default InstanceGroupStatus.Buildertimeline(Consumer<InstanceGroupTimeline.Builder> timeline) The timeline of the instance group status over time.timeline(InstanceGroupTimeline timeline) The timeline of the instance group status over time.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
state
The current state of the instance group.
- Parameters:
 state- The current state of the instance group.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
state
The current state of the instance group.
- Parameters:
 state- The current state of the instance group.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
stateChangeReason
The status change reason details for the instance group.
- Parameters:
 stateChangeReason- The status change reason details for the instance group.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
stateChangeReason
default InstanceGroupStatus.Builder stateChangeReason(Consumer<InstanceGroupStateChangeReason.Builder> stateChangeReason) The status change reason details for the instance group.
This is a convenience method that creates an instance of theInstanceGroupStateChangeReason.Builderavoiding the need to create one manually viaInstanceGroupStateChangeReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateChangeReason(InstanceGroupStateChangeReason).- Parameters:
 stateChangeReason- a consumer that will call methods onInstanceGroupStateChangeReason.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
timeline
The timeline of the instance group status over time.
- Parameters:
 timeline- The timeline of the instance group status over time.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
timeline
The timeline of the instance group status over time.
This is a convenience method that creates an instance of theInstanceGroupTimeline.Builderavoiding the need to create one manually viaInstanceGroupTimeline.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeline(InstanceGroupTimeline).- Parameters:
 timeline- a consumer that will call methods onInstanceGroupTimeline.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -