Class GroupWarmPoolArgs.Builder

  • Enclosing class:
    GroupWarmPoolArgs

    public static final class GroupWarmPoolArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • instanceReusePolicy

        public GroupWarmPoolArgs.Builder instanceReusePolicy​(@Nullable
                                                             com.pulumi.core.Output<GroupWarmPoolInstanceReusePolicyArgs> instanceReusePolicy)
        Parameters:
        instanceReusePolicy - Whether instances in the Auto Scaling group can be returned to the warm pool on scale in. The default is to terminate instances in the Auto Scaling group when the group scales in.
        Returns:
        builder
      • instanceReusePolicy

        public GroupWarmPoolArgs.Builder instanceReusePolicy​(GroupWarmPoolInstanceReusePolicyArgs instanceReusePolicy)
        Parameters:
        instanceReusePolicy - Whether instances in the Auto Scaling group can be returned to the warm pool on scale in. The default is to terminate instances in the Auto Scaling group when the group scales in.
        Returns:
        builder
      • maxGroupPreparedCapacity

        public GroupWarmPoolArgs.Builder maxGroupPreparedCapacity​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Integer> maxGroupPreparedCapacity)
        Parameters:
        maxGroupPreparedCapacity - Total 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:
        builder
      • maxGroupPreparedCapacity

        public GroupWarmPoolArgs.Builder maxGroupPreparedCapacity​(java.lang.Integer maxGroupPreparedCapacity)
        Parameters:
        maxGroupPreparedCapacity - Total 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:
        builder
      • minSize

        public GroupWarmPoolArgs.Builder minSize​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Integer> minSize)
        Parameters:
        minSize - Minimum number of instances to maintain in the warm pool. This helps you to ensure that there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not specified.
        Returns:
        builder
      • minSize

        public GroupWarmPoolArgs.Builder minSize​(java.lang.Integer minSize)
        Parameters:
        minSize - Minimum number of instances to maintain in the warm pool. This helps you to ensure that there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not specified.
        Returns:
        builder
      • poolState

        public GroupWarmPoolArgs.Builder poolState​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> poolState)
        Parameters:
        poolState - Sets the instance state to transition to after the lifecycle hooks finish. Valid values are: Stopped (default), Running or Hibernated.
        Returns:
        builder
      • poolState

        public GroupWarmPoolArgs.Builder poolState​(java.lang.String poolState)
        Parameters:
        poolState - Sets the instance state to transition to after the lifecycle hooks finish. Valid values are: Stopped (default), Running or Hibernated.
        Returns:
        builder