@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScalableTargetAction extends Object implements Serializable, Cloneable, StructuredPojo
Represents the minimum and maximum capacity for a scheduled action.
| Constructor and Description |
|---|
ScalableTargetAction() |
| Modifier and Type | Method and Description |
|---|---|
ScalableTargetAction |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxCapacity()
The maximum capacity.
|
Integer |
getMinCapacity()
The minimum capacity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setMaxCapacity(Integer maxCapacity)
The maximum capacity.
|
void |
setMinCapacity(Integer minCapacity)
The minimum capacity.
|
String |
toString()
Returns a string representation of this object.
|
ScalableTargetAction |
withMaxCapacity(Integer maxCapacity)
The maximum capacity.
|
ScalableTargetAction |
withMinCapacity(Integer minCapacity)
The minimum capacity.
|
public void setMinCapacity(Integer minCapacity)
The minimum capacity.
For Lambda provisioned concurrency, the minimum value allowed is 0. For all other resources, the minimum value allowed is 1.
minCapacity - The minimum capacity.
For Lambda provisioned concurrency, the minimum value allowed is 0. For all other resources, the minimum value allowed is 1.
public Integer getMinCapacity()
The minimum capacity.
For Lambda provisioned concurrency, the minimum value allowed is 0. For all other resources, the minimum value allowed is 1.
For Lambda provisioned concurrency, the minimum value allowed is 0. For all other resources, the minimum value allowed is 1.
public ScalableTargetAction withMinCapacity(Integer minCapacity)
The minimum capacity.
For Lambda provisioned concurrency, the minimum value allowed is 0. For all other resources, the minimum value allowed is 1.
minCapacity - The minimum capacity.
For Lambda provisioned concurrency, the minimum value allowed is 0. For all other resources, the minimum value allowed is 1.
public void setMaxCapacity(Integer maxCapacity)
The maximum capacity.
maxCapacity - The maximum capacity.public Integer getMaxCapacity()
The maximum capacity.
public ScalableTargetAction withMaxCapacity(Integer maxCapacity)
The maximum capacity.
maxCapacity - The maximum capacity.public String toString()
toString in class ObjectObject.toString()public ScalableTargetAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.