public ProvisionedThroughput withWriteCapacityUnits(Long writeCapacityUnits) {
        setWriteCapacityUnits(writeCapacityUnits);
        return this;
    }
<p>
The maximum number of writes consumed per second before DynamoDB returns a <code>ThrottlingException</code>. For
more information, see <a
href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html">Specifying
Read and Write Requirements</a> in the <i>Amazon DynamoDB Developer Guide</i>.
</p>
<p>
If read/write capacity mode is <code>PAY_PER_REQUEST</code> the value is set to 0.
</p>

@param writeCapacityUnits
       The maximum number of writes consumed per second before DynamoDB returns a
       <code>ThrottlingException</code>. For more information, see <a
       href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html"
       >Specifying Read and Write Requirements</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
       <p>
       If read/write capacity mode is <code>PAY_PER_REQUEST</code> the value is set to 0.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/ProvisionedThroughput.java