Class WarmPoolConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WarmPoolConfiguration.Builder,WarmPoolConfiguration>
Describes a warm pool configuration.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstanceReusePolicyThe instance reuse policy.final IntegerThe maximum number of instances that are allowed to be in the warm pool or in any state exceptTerminatedfor the Auto Scaling group.final IntegerminSize()The minimum number of instances to maintain in the warm pool.final WarmPoolStateThe instance state to transition to after the lifecycle actions are complete.final StringThe instance state to transition to after the lifecycle actions are complete.static Class<? extends WarmPoolConfiguration.Builder>final WarmPoolStatusstatus()The status of a warm pool that is marked for deletion.final StringThe status of a warm pool that is marked for deletion.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
maxGroupPreparedCapacity
The maximum number of instances that are allowed to be in the warm pool or in any state except
Terminatedfor the Auto Scaling group.- Returns:
- The maximum number of instances that are allowed to be in the warm pool or in any state except
Terminatedfor the Auto Scaling group.
-
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
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,
poolStatewill returnWarmPoolState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompoolStateAsString().- Returns:
- The instance state to transition to after the lifecycle actions are complete.
- See Also:
-
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,
poolStatewill returnWarmPoolState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompoolStateAsString().- Returns:
- The instance state to transition to after the lifecycle actions are complete.
- See Also:
-
status
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,
statuswill returnWarmPoolStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a warm pool that is marked for deletion.
- See Also:
-
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,
statuswill returnWarmPoolStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a warm pool that is marked for deletion.
- See Also:
-
instanceReusePolicy
The instance reuse policy.
- Returns:
- The instance reuse policy.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<WarmPoolConfiguration.Builder,WarmPoolConfiguration>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-