@Generated(value="software.amazon.awssdk:codegen") public final class WarmPoolConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WarmPoolConfiguration.Builder,WarmPoolConfiguration>
Describes a warm pool configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WarmPoolConfiguration.Builder |
| Modifier and Type | Method and 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 except
Terminated 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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
Terminated for the Auto Scaling group.public final Integer minSize()
The minimum number of instances to maintain in the warm pool.
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().
WarmPoolStatepublic 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().
WarmPoolStatepublic 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
return WarmPoolStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
WarmPoolStatuspublic 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().
WarmPoolStatuspublic final InstanceReusePolicy instanceReusePolicy()
The instance reuse policy.
public WarmPoolConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WarmPoolConfiguration.Builder,WarmPoolConfiguration>public static WarmPoolConfiguration.Builder builder()
public static Class<? extends WarmPoolConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.