Interface InstanceResizePolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceResizePolicy.Builder,
,InstanceResizePolicy> SdkBuilder<InstanceResizePolicy.Builder,
,InstanceResizePolicy> SdkPojo
- Enclosing class:
InstanceResizePolicy
@Mutable
@NotThreadSafe
public static interface InstanceResizePolicy.Builder
extends SdkPojo, CopyableBuilder<InstanceResizePolicy.Builder,InstanceResizePolicy>
-
Method Summary
Modifier and TypeMethodDescriptioninstancesToProtect
(String... instancesToProtect) Specific list of instances to be protected when shrinking an instance group.instancesToProtect
(Collection<String> instancesToProtect) Specific list of instances to be protected when shrinking an instance group.instancesToTerminate
(String... instancesToTerminate) Specific list of instances to be terminated when shrinking an instance group.instancesToTerminate
(Collection<String> instancesToTerminate) Specific list of instances to be terminated when shrinking an instance group.instanceTerminationTimeout
(Integer instanceTerminationTimeout) Decommissioning timeout override for the specific list of instances to be terminated.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
-
instancesToTerminate
Specific list of instances to be terminated when shrinking an instance group.
- Parameters:
instancesToTerminate
- Specific list of instances to be terminated when shrinking an instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancesToTerminate
Specific list of instances to be terminated when shrinking an instance group.
- Parameters:
instancesToTerminate
- Specific list of instances to be terminated when shrinking an instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancesToProtect
Specific list of instances to be protected when shrinking an instance group.
- Parameters:
instancesToProtect
- Specific list of instances to be protected when shrinking an instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancesToProtect
Specific list of instances to be protected when shrinking an instance group.
- Parameters:
instancesToProtect
- Specific list of instances to be protected when shrinking an instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTerminationTimeout
Decommissioning timeout override for the specific list of instances to be terminated.
- Parameters:
instanceTerminationTimeout
- Decommissioning timeout override for the specific list of instances to be terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-