@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingSpecification extends Object implements Serializable, Cloneable, StructuredPojo
The optional auto scaling capacity settings for a table in provisioned capacity mode.
Constructor and Description |
---|
AutoScalingSpecification() |
Modifier and Type | Method and Description |
---|---|
AutoScalingSpecification |
clone() |
boolean |
equals(Object obj) |
AutoScalingSettings |
getReadCapacityAutoScaling()
The auto scaling settings for the table's read capacity.
|
AutoScalingSettings |
getWriteCapacityAutoScaling()
The auto scaling settings for the table's write capacity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReadCapacityAutoScaling(AutoScalingSettings readCapacityAutoScaling)
The auto scaling settings for the table's read capacity.
|
void |
setWriteCapacityAutoScaling(AutoScalingSettings writeCapacityAutoScaling)
The auto scaling settings for the table's write capacity.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingSpecification |
withReadCapacityAutoScaling(AutoScalingSettings readCapacityAutoScaling)
The auto scaling settings for the table's read capacity.
|
AutoScalingSpecification |
withWriteCapacityAutoScaling(AutoScalingSettings writeCapacityAutoScaling)
The auto scaling settings for the table's write capacity.
|
public void setWriteCapacityAutoScaling(AutoScalingSettings writeCapacityAutoScaling)
The auto scaling settings for the table's write capacity.
writeCapacityAutoScaling
- The auto scaling settings for the table's write capacity.public AutoScalingSettings getWriteCapacityAutoScaling()
The auto scaling settings for the table's write capacity.
public AutoScalingSpecification withWriteCapacityAutoScaling(AutoScalingSettings writeCapacityAutoScaling)
The auto scaling settings for the table's write capacity.
writeCapacityAutoScaling
- The auto scaling settings for the table's write capacity.public void setReadCapacityAutoScaling(AutoScalingSettings readCapacityAutoScaling)
The auto scaling settings for the table's read capacity.
readCapacityAutoScaling
- The auto scaling settings for the table's read capacity.public AutoScalingSettings getReadCapacityAutoScaling()
The auto scaling settings for the table's read capacity.
public AutoScalingSpecification withReadCapacityAutoScaling(AutoScalingSettings readCapacityAutoScaling)
The auto scaling settings for the table's read capacity.
readCapacityAutoScaling
- The auto scaling settings for the table's read capacity.public String toString()
toString
in class Object
Object.toString()
public AutoScalingSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.