Interface ClusterOperationScalingDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterOperationScalingDetails.Builder,,ClusterOperationScalingDetails> SdkBuilder<ClusterOperationScalingDetails.Builder,,ClusterOperationScalingDetails> SdkPojo
- Enclosing class:
ClusterOperationScalingDetails
-
Method Summary
Modifier and TypeMethodDescriptionThe desired scaling configuration of the instance group for the scaling operation, including its target and minimum instance counts.The desired scaling configuration of the instance group for the scaling operation, including its target and minimum instance counts.instanceGroupName(String instanceGroupName) The name of the instance group being scaled.The scaling configuration of the instance group before the scaling operation was applied, including its current, target, and minimum instance counts.original(ClusterOperationScalingConfiguration original) The scaling configuration of the instance group before the scaling operation was applied, including its current, target, and minimum instance counts.The status of the scaling operation for this instance group.status(ClusterOperationStatus status) The status of the scaling operation for this instance group.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
-
instanceGroupName
The name of the instance group being scaled.
- Parameters:
instanceGroupName- The name of the instance group being scaled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the scaling operation for this instance group. Valid values are
InProgress,Superseded, orDone.- Parameters:
status- The status of the scaling operation for this instance group. Valid values areInProgress,Superseded, orDone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the scaling operation for this instance group. Valid values are
InProgress,Superseded, orDone.- Parameters:
status- The status of the scaling operation for this instance group. Valid values areInProgress,Superseded, orDone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
original
The scaling configuration of the instance group before the scaling operation was applied, including its current, target, and minimum instance counts.
- Parameters:
original- The scaling configuration of the instance group before the scaling operation was applied, including its current, target, and minimum instance counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
original
default ClusterOperationScalingDetails.Builder original(Consumer<ClusterOperationScalingConfiguration.Builder> original) The scaling configuration of the instance group before the scaling operation was applied, including its current, target, and minimum instance counts.
This is a convenience method that creates an instance of theClusterOperationScalingConfiguration.Builderavoiding the need to create one manually viaClusterOperationScalingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooriginal(ClusterOperationScalingConfiguration).- Parameters:
original- a consumer that will call methods onClusterOperationScalingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desired
The desired scaling configuration of the instance group for the scaling operation, including its target and minimum instance counts.
- Parameters:
desired- The desired scaling configuration of the instance group for the scaling operation, including its target and minimum instance counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desired
default ClusterOperationScalingDetails.Builder desired(Consumer<ClusterOperationScalingConfiguration.Builder> desired) The desired scaling configuration of the instance group for the scaling operation, including its target and minimum instance counts.
This is a convenience method that creates an instance of theClusterOperationScalingConfiguration.Builderavoiding the need to create one manually viaClusterOperationScalingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todesired(ClusterOperationScalingConfiguration).- Parameters:
desired- a consumer that will call methods onClusterOperationScalingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-