Class WarmPoolConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.autoscaling.model.WarmPoolConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WarmPoolConfiguration.Builder,WarmPoolConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class WarmPoolConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WarmPoolConfiguration.Builder,WarmPoolConfiguration>
Describes a warm pool configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWarmPoolConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WarmPoolConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstanceReusePolicyinstanceReusePolicy()The instance reuse policy.IntegermaxGroupPreparedCapacity()The maximum number of instances that are allowed to be in the warm pool or in any state exceptTerminatedfor the Auto Scaling group.IntegerminSize()The minimum number of instances to maintain in the warm pool.WarmPoolStatepoolState()The instance state to transition to after the lifecycle actions are complete.StringpoolStateAsString()The instance state to transition to after the lifecycle actions are complete.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WarmPoolConfiguration.Builder>serializableBuilderClass()WarmPoolStatusstatus()The status of a warm pool that is marked for deletion.StringstatusAsString()The status of a warm pool that is marked for deletion.WarmPoolConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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
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
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,
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:
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,
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:
WarmPoolState
-
status
public final WarmPoolStatus 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:
WarmPoolStatus
-
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,
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:
WarmPoolStatus
-
instanceReusePolicy
public final InstanceReusePolicy instanceReusePolicy()
The instance reuse policy.
- Returns:
- The instance reuse policy.
-
toBuilder
public WarmPoolConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WarmPoolConfiguration.Builder,WarmPoolConfiguration>
-
builder
public static WarmPoolConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends WarmPoolConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-