Class WarmPoolConfiguration

    • Method Detail

      • maxGroupPreparedCapacity

        public final 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.

        Returns:
        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.
      • minSize

        public final Integer minSize()

        The minimum number of instances to maintain in the warm pool.

        Returns:
        The minimum number of instances to maintain in the warm pool.
      • poolState

        public final WarmPoolState poolState()

        The instance state to transition to after the lifecycle actions are complete.

        If the service returns an enum value that is not available in the current SDK version, poolState will return WarmPoolState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from poolStateAsString().

        Returns:
        The instance state to transition to after the lifecycle actions are complete.
        See Also:
        WarmPoolState
      • poolStateAsString

        public final String poolStateAsString()

        The instance state to transition to after the lifecycle actions are complete.

        If the service returns an enum value that is not available in the current SDK version, poolState will return WarmPoolState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from poolStateAsString().

        Returns:
        The instance state to transition to after the lifecycle actions are complete.
        See Also:
        WarmPoolState
      • statusAsString

        public final String statusAsString()

        The status of a warm pool that is marked for deletion.

        If the service returns an enum value that is not available in the current SDK version, status will return WarmPoolStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of a warm pool that is marked for deletion.
        See Also:
        WarmPoolStatus
      • instanceReusePolicy

        public final InstanceReusePolicy instanceReusePolicy()

        The instance reuse policy.

        Returns:
        The instance reuse policy.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)