Example usage for com.amazonaws.services.dynamodbv2.model Capacity getCapacityUnits

List of usage examples for com.amazonaws.services.dynamodbv2.model Capacity getCapacityUnits

Introduction

In this page you can find the example usage for com.amazonaws.services.dynamodbv2.model Capacity getCapacityUnits.

Prototype


public Double getCapacityUnits() 

Source Link

Document

The total number of capacity units consumed on a table or an index.

Usage

From source file:org.xmlsh.aws.util.AWSDDBCommand.java

License:BSD License

private void writeCapacity(String attr, String attrValue, Capacity cap) throws XMLStreamException {
    attribute(attr, attrValue);/*from  www .  ja v  a2 s .  com*/
    attribute("capacity-units", cap.getCapacityUnits());
}