@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WarmPoolConfiguration extends Object implements Serializable, Cloneable
Describes a warm pool configuration.
| Constructor and Description |
|---|
WarmPoolConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
WarmPoolConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxGroupPreparedCapacity()
The total 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 |
getMinSize()
The minimum number of instances to maintain in the warm pool.
|
String |
getPoolState()
The instance state to transition to after the lifecycle actions are complete:
Stopped or
Running. |
String |
getStatus()
The status of a warm pool that is marked for deletion.
|
int |
hashCode() |
void |
setMaxGroupPreparedCapacity(Integer maxGroupPreparedCapacity)
The total maximum number of instances that are allowed to be in the warm pool or in any state except
Terminated for the Auto Scaling group. |
void |
setMinSize(Integer minSize)
The minimum number of instances to maintain in the warm pool.
|
void |
setPoolState(String poolState)
The instance state to transition to after the lifecycle actions are complete:
Stopped or
Running. |
void |
setStatus(String status)
The status of a warm pool that is marked for deletion.
|
String |
toString()
Returns a string representation of this object.
|
WarmPoolConfiguration |
withMaxGroupPreparedCapacity(Integer maxGroupPreparedCapacity)
The total maximum number of instances that are allowed to be in the warm pool or in any state except
Terminated for the Auto Scaling group. |
WarmPoolConfiguration |
withMinSize(Integer minSize)
The minimum number of instances to maintain in the warm pool.
|
WarmPoolConfiguration |
withPoolState(String poolState)
The instance state to transition to after the lifecycle actions are complete:
Stopped or
Running. |
WarmPoolConfiguration |
withPoolState(WarmPoolState poolState)
The instance state to transition to after the lifecycle actions are complete:
Stopped or
Running. |
WarmPoolConfiguration |
withStatus(String status)
The status of a warm pool that is marked for deletion.
|
WarmPoolConfiguration |
withStatus(WarmPoolStatus status)
The status of a warm pool that is marked for deletion.
|
public void setMaxGroupPreparedCapacity(Integer maxGroupPreparedCapacity)
The total maximum number of instances that are allowed to be in the warm pool or in any state except
Terminated for the Auto Scaling group.
maxGroupPreparedCapacity - The total maximum number of instances that are allowed to be in the warm pool or in any state except
Terminated for the Auto Scaling group.public Integer getMaxGroupPreparedCapacity()
The total 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 WarmPoolConfiguration withMaxGroupPreparedCapacity(Integer maxGroupPreparedCapacity)
The total maximum number of instances that are allowed to be in the warm pool or in any state except
Terminated for the Auto Scaling group.
maxGroupPreparedCapacity - The total maximum number of instances that are allowed to be in the warm pool or in any state except
Terminated for the Auto Scaling group.public void setMinSize(Integer minSize)
The minimum number of instances to maintain in the warm pool.
minSize - The minimum number of instances to maintain in the warm pool.public Integer getMinSize()
The minimum number of instances to maintain in the warm pool.
public WarmPoolConfiguration withMinSize(Integer minSize)
The minimum number of instances to maintain in the warm pool.
minSize - The minimum number of instances to maintain in the warm pool.public void setPoolState(String poolState)
The instance state to transition to after the lifecycle actions are complete: Stopped or
Running.
poolState - The instance state to transition to after the lifecycle actions are complete: Stopped or
Running.WarmPoolStatepublic String getPoolState()
The instance state to transition to after the lifecycle actions are complete: Stopped or
Running.
Stopped or
Running.WarmPoolStatepublic WarmPoolConfiguration withPoolState(String poolState)
The instance state to transition to after the lifecycle actions are complete: Stopped or
Running.
poolState - The instance state to transition to after the lifecycle actions are complete: Stopped or
Running.WarmPoolStatepublic WarmPoolConfiguration withPoolState(WarmPoolState poolState)
The instance state to transition to after the lifecycle actions are complete: Stopped or
Running.
poolState - The instance state to transition to after the lifecycle actions are complete: Stopped or
Running.WarmPoolStatepublic void setStatus(String status)
The status of a warm pool that is marked for deletion.
status - The status of a warm pool that is marked for deletion.WarmPoolStatuspublic String getStatus()
The status of a warm pool that is marked for deletion.
WarmPoolStatuspublic WarmPoolConfiguration withStatus(String status)
The status of a warm pool that is marked for deletion.
status - The status of a warm pool that is marked for deletion.WarmPoolStatuspublic WarmPoolConfiguration withStatus(WarmPoolStatus status)
The status of a warm pool that is marked for deletion.
status - The status of a warm pool that is marked for deletion.WarmPoolStatuspublic String toString()
toString in class ObjectObject.toString()public WarmPoolConfiguration clone()
Copyright © 2021. All rights reserved.