}
jsonWriter.endObject(); // KeySchemaElement
}
jsonWriter.endArray(); // KeySchema
}
ProvisionedThroughputDescription provisionedThroughput = table.getProvisionedThroughput();
if (provisionedThroughput != null) {
jsonWriter.key("ProvisionedThroughput").object();
if (provisionedThroughput.getReadCapacityUnits() != null) {
jsonWriter.key("ReadCapacityUnits").value(provisionedThroughput.getReadCapacityUnits());
}
if (provisionedThroughput.getWriteCapacityUnits() != null) {
jsonWriter.key("WriteCapacityUnits").value(provisionedThroughput.getWriteCapacityUnits());
}
if (provisionedThroughput.getLastDecreaseDateTime() != null) {
jsonWriter.key("LastDecreaseDateTime").value(provisionedThroughput.getLastDecreaseDateTime());
}
if (provisionedThroughput.getLastIncreaseDateTime() != null) {
jsonWriter.key("LastIncreaseDateTime").value(provisionedThroughput.getLastIncreaseDateTime());
}
jsonWriter.endObject(); // ProvisionedThroughput
}
jsonWriter.endObject(); // TableDescription