Example usage for com.amazonaws.services.dynamodbv2.model ProvisionedThroughputDescription getLastDecreaseDateTime

List of usage examples for com.amazonaws.services.dynamodbv2.model ProvisionedThroughputDescription getLastDecreaseDateTime

Introduction

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

Prototype


public java.util.Date getLastDecreaseDateTime() 

Source Link

Document

The date and time of the last provisioned throughput decrease for this table.

Usage

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

License:BSD License

private void writeProvisionedThroughput(ProvisionedThroughputDescription provisionedThroughput)
        throws XMLStreamException {
    startElement("provisioned-throughput");
    attribute("last-decrease", provisionedThroughput.getLastDecreaseDateTime());
    attribute("last-increase", provisionedThroughput.getLastIncreaseDateTime());
    attribute("decreases-today", provisionedThroughput.getNumberOfDecreasesToday());
    attribute("read-capacity", provisionedThroughput.getReadCapacityUnits());
    attribute("write-capacity", provisionedThroughput.getWriteCapacityUnits());
    endElement();/*from  ww w . j  ava2  s  . com*/

}