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 interface
WarmPoolConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WarmPoolConfiguration.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
InstanceReusePolicy
instanceReusePolicy()
The instance reuse policy.Integer
maxGroupPreparedCapacity()
The maximum number of instances that are allowed to be in the warm pool or in any state exceptTerminated
for the Auto Scaling group.Integer
minSize()
The minimum number of instances to maintain in the warm pool.WarmPoolState
poolState()
The instance state to transition to after the lifecycle actions are complete.String
poolStateAsString()
The instance state to transition to after the lifecycle actions are complete.List<SdkField<?>>
sdkFields()
static Class<? extends WarmPoolConfiguration.Builder>
serializableBuilderClass()
WarmPoolStatus
status()
The status of a warm pool that is marked for deletion.String
statusAsString()
The status of a warm pool that is marked for deletion.WarmPoolConfiguration.Builder
toBuilder()
String
toString()
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
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 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,
poolState
will 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,
status
will 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,
status
will 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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-