@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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxCapacity(Integer maxCapacity)
The maximum capacity.
|
void |
setMinCapacity(Integer minCapacity)
The minimum capacity.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ScalableTargetAction |
withMaxCapacity(Integer maxCapacity)
The maximum capacity.
|
ScalableTargetAction |
withMinCapacity(Integer minCapacity)
The minimum capacity.
|
public void setMinCapacity(Integer minCapacity)
The minimum capacity.
minCapacity
- The minimum capacity.public Integer getMinCapacity()
The minimum capacity.
public ScalableTargetAction withMinCapacity(Integer minCapacity)
The minimum capacity.
minCapacity
- The minimum capacity.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 Object
Object.toString()
public ScalableTargetAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.