public void setOnDemandThroughput(OnDemandThroughput onDemandThroughput) {
        this.onDemandThroughput = onDemandThroughput;
    }
<p>
The maximum number of read and write units for the specified global secondary index. If you use this parameter,
you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.
</p>

@param onDemandThroughput
       The maximum number of read and write units for the specified global secondary index. If you use this
       parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/GlobalSecondaryIndexDescription.java