@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OnDemandThroughput extends Object implements Serializable, Cloneable, StructuredPojo
Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you
must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
| Constructor and Description |
|---|
OnDemandThroughput() |
| Modifier and Type | Method and Description |
|---|---|
OnDemandThroughput |
clone() |
boolean |
equals(Object obj) |
Long |
getMaxReadRequestUnits()
Maximum number of read request units for the specified table.
|
Long |
getMaxWriteRequestUnits()
Maximum number of write request units for the specified table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMaxReadRequestUnits(Long maxReadRequestUnits)
Maximum number of read request units for the specified table.
|
void |
setMaxWriteRequestUnits(Long maxWriteRequestUnits)
Maximum number of write request units for the specified table.
|
String |
toString()
Returns a string representation of this object.
|
OnDemandThroughput |
withMaxReadRequestUnits(Long maxReadRequestUnits)
Maximum number of read request units for the specified table.
|
OnDemandThroughput |
withMaxWriteRequestUnits(Long maxWriteRequestUnits)
Maximum number of write request units for the specified table.
|
public void setMaxReadRequestUnits(Long maxReadRequestUnits)
Maximum number of read request units for the specified table.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxReadRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxReadRequestUnits to -1.
maxReadRequestUnits - Maximum number of read request units for the specified table.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxReadRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxReadRequestUnits to -1.
public Long getMaxReadRequestUnits()
Maximum number of read request units for the specified table.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxReadRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxReadRequestUnits to -1.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxReadRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxReadRequestUnits to -1.
public OnDemandThroughput withMaxReadRequestUnits(Long maxReadRequestUnits)
Maximum number of read request units for the specified table.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxReadRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxReadRequestUnits to -1.
maxReadRequestUnits - Maximum number of read request units for the specified table.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxReadRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxReadRequestUnits to -1.
public void setMaxWriteRequestUnits(Long maxWriteRequestUnits)
Maximum number of write request units for the specified table.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxWriteRequestUnits to -1.
maxWriteRequestUnits - Maximum number of write request units for the specified table.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxWriteRequestUnits to -1.
public Long getMaxWriteRequestUnits()
Maximum number of write request units for the specified table.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxWriteRequestUnits to -1.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxWriteRequestUnits to -1.
public OnDemandThroughput withMaxWriteRequestUnits(Long maxWriteRequestUnits)
Maximum number of write request units for the specified table.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxWriteRequestUnits to -1.
maxWriteRequestUnits - Maximum number of write request units for the specified table.
To specify a maximum OnDemandThroughput on your table, set the value of
MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum
OnDemandThroughput that is currently set on your table, set the value of
MaxWriteRequestUnits to -1.
public String toString()
toString in class ObjectObject.toString()public OnDemandThroughput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.