Interface InstanceGroupScalingMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceGroupScalingMetadata.Builder,
,InstanceGroupScalingMetadata> SdkBuilder<InstanceGroupScalingMetadata.Builder,
,InstanceGroupScalingMetadata> SdkPojo
- Enclosing class:
InstanceGroupScalingMetadata
@Mutable
@NotThreadSafe
public static interface InstanceGroupScalingMetadata.Builder
extends SdkPojo, CopyableBuilder<InstanceGroupScalingMetadata.Builder,InstanceGroupScalingMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionfailureMessage
(String failureMessage) An error message describing why the scaling operation failed, if applicable.instanceCount
(Integer instanceCount) The current number of instances in the group.targetCount
(Integer targetCount) The desired number of instances for the group after scaling.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceCount
The current number of instances in the group.
- Parameters:
instanceCount
- The current number of instances in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetCount
The desired number of instances for the group after scaling.
- Parameters:
targetCount
- The desired number of instances for the group after scaling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessage
An error message describing why the scaling operation failed, if applicable.
- Parameters:
failureMessage
- An error message describing why the scaling operation failed, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-