Interface WarmPoolConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<WarmPoolConfiguration.Builder,WarmPoolConfiguration>
,SdkBuilder<WarmPoolConfiguration.Builder,WarmPoolConfiguration>
,SdkPojo
- Enclosing class:
- WarmPoolConfiguration
public static interface WarmPoolConfiguration.Builder extends SdkPojo, CopyableBuilder<WarmPoolConfiguration.Builder,WarmPoolConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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 exceptTerminated
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.-
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, sdkFields
-
-
-
-
Method Detail
-
maxGroupPreparedCapacity
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.- Parameters:
maxGroupPreparedCapacity
- The maximum number of instances that are allowed to be in the warm pool or in any state exceptTerminated
for the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minSize
WarmPoolConfiguration.Builder minSize(Integer minSize)
The minimum number of instances to maintain in the warm pool.
- Parameters:
minSize
- The minimum number of instances to maintain in the warm pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolState
WarmPoolConfiguration.Builder poolState(String poolState)
The instance state to transition to after the lifecycle actions are complete.
- Parameters:
poolState
- The instance state to transition to after the lifecycle actions are complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WarmPoolState
,WarmPoolState
-
poolState
WarmPoolConfiguration.Builder poolState(WarmPoolState poolState)
The instance state to transition to after the lifecycle actions are complete.
- Parameters:
poolState
- The instance state to transition to after the lifecycle actions are complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WarmPoolState
,WarmPoolState
-
status
WarmPoolConfiguration.Builder status(String status)
The status of a warm pool that is marked for deletion.
- Parameters:
status
- The status of a warm pool that is marked for deletion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WarmPoolStatus
,WarmPoolStatus
-
status
WarmPoolConfiguration.Builder status(WarmPoolStatus status)
The status of a warm pool that is marked for deletion.
- Parameters:
status
- The status of a warm pool that is marked for deletion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WarmPoolStatus
,WarmPoolStatus
-
instanceReusePolicy
WarmPoolConfiguration.Builder instanceReusePolicy(InstanceReusePolicy instanceReusePolicy)
The instance reuse policy.
- Parameters:
instanceReusePolicy
- The instance reuse policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceReusePolicy
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 viaInstanceReusePolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceReusePolicy(InstanceReusePolicy)
.- Parameters:
instanceReusePolicy
- a consumer that will call methods onInstanceReusePolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceReusePolicy(InstanceReusePolicy)
-
-