public static interface WarmPoolConfiguration.Builder extends SdkPojo, CopyableBuilder<WarmPoolConfiguration.Builder,WarmPoolConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default WarmPoolConfiguration.Builder |
instanceReusePolicy(Consumer<InstanceReusePolicy.Builder> instanceReusePolicy)
The instance reuse policy.
|
WarmPoolConfiguration.Builder |
instanceReusePolicy(InstanceReusePolicy instanceReusePolicy)
The instance reuse policy.
|
WarmPoolConfiguration.Builder |
maxGroupPreparedCapacity(Integer maxGroupPreparedCapacity)
The maximum number of instances that are allowed to be in the warm pool or in any state except
Terminated for the Auto Scaling group. |
WarmPoolConfiguration.Builder |
minSize(Integer minSize)
The minimum number of instances to maintain in the warm pool.
|
WarmPoolConfiguration.Builder |
poolState(String poolState)
The instance state to transition to after the lifecycle actions are complete.
|
WarmPoolConfiguration.Builder |
poolState(WarmPoolState poolState)
The instance state to transition to after the lifecycle actions are complete.
|
WarmPoolConfiguration.Builder |
status(String status)
The status of a warm pool that is marked for deletion.
|
WarmPoolConfiguration.Builder |
status(WarmPoolStatus status)
The status of a warm pool that is marked for deletion.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWarmPoolConfiguration.Builder maxGroupPreparedCapacity(Integer maxGroupPreparedCapacity)
The maximum number of instances that are allowed to be in the warm pool or in any state except
Terminated for the Auto Scaling group.
maxGroupPreparedCapacity - The maximum number of instances that are allowed to be in the warm pool or in any state except
Terminated for the Auto Scaling group.WarmPoolConfiguration.Builder minSize(Integer minSize)
The minimum number of instances to maintain in the warm pool.
minSize - The minimum number of instances to maintain in the warm pool.WarmPoolConfiguration.Builder poolState(String poolState)
The instance state to transition to after the lifecycle actions are complete.
poolState - The instance state to transition to after the lifecycle actions are complete.WarmPoolState,
WarmPoolStateWarmPoolConfiguration.Builder poolState(WarmPoolState poolState)
The instance state to transition to after the lifecycle actions are complete.
poolState - The instance state to transition to after the lifecycle actions are complete.WarmPoolState,
WarmPoolStateWarmPoolConfiguration.Builder status(String status)
The status of a warm pool that is marked for deletion.
status - The status of a warm pool that is marked for deletion.WarmPoolStatus,
WarmPoolStatusWarmPoolConfiguration.Builder status(WarmPoolStatus status)
The status of a warm pool that is marked for deletion.
status - The status of a warm pool that is marked for deletion.WarmPoolStatus,
WarmPoolStatusWarmPoolConfiguration.Builder instanceReusePolicy(InstanceReusePolicy instanceReusePolicy)
The instance reuse policy.
instanceReusePolicy - The instance reuse policy.default WarmPoolConfiguration.Builder instanceReusePolicy(Consumer<InstanceReusePolicy.Builder> instanceReusePolicy)
The instance reuse policy.
This is a convenience method that creates an instance of theInstanceReusePolicy.Builder avoiding the
need to create one manually via InstanceReusePolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to instanceReusePolicy(InstanceReusePolicy).
instanceReusePolicy - a consumer that will call methods on InstanceReusePolicy.BuilderinstanceReusePolicy(InstanceReusePolicy)Copyright © 2022. All rights reserved.