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 Details

    • 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 except Terminated for the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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:
    • 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:
    • 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:
    • 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:
    • 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 the InstanceReusePolicy.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).

      Parameters:
      instanceReusePolicy - a consumer that will call methods on InstanceReusePolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: