@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
.WarmPoolState
public String getPoolState()
The instance state to transition to after the lifecycle actions are complete: Stopped
or
Running
.
Stopped
or
Running
.WarmPoolState
public 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
.WarmPoolState
public 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
.WarmPoolState
public 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.WarmPoolStatus
public String getStatus()
The status of a warm pool that is marked for deletion.
WarmPoolStatus
public 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.WarmPoolStatus
public 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.WarmPoolStatus
public String toString()
toString
in class Object
Object.toString()
public WarmPoolConfiguration clone()