public UpdateTableSpec withGlobalSecondaryIndexUpdates( Collection<GlobalSecondaryIndexUpdate> globalSecondaryIndexUpdates) { getRequest().withGlobalSecondaryIndexUpdates( globalSecondaryIndexUpdates); return this; } }
public UpdateTableSpec withProvisionedThroughput( ProvisionedThroughput provisionedThroughput) { getRequest().setProvisionedThroughput(provisionedThroughput); return this; }
public UpdateTableSpec withAttributeDefinitions( Collection<AttributeDefinition> attributeDefinitions) { getRequest().withAttributeDefinitions(attributeDefinitions); return this; }
public UpdateTableSpec withAttributeDefinitions( AttributeDefinition... attributeDefinitions) { getRequest().withAttributeDefinitions(attributeDefinitions); return this; }
public UpdateTableSpec withGlobalSecondaryIndexUpdates( GlobalSecondaryIndexUpdate... globalSecondaryIndexUpdates) { getRequest().withGlobalSecondaryIndexUpdates( globalSecondaryIndexUpdates); return this; }
public List<AttributeDefinition> getAttributeDefinitions() { return getRequest().getAttributeDefinitions(); }
public ProvisionedThroughput getProvisionedThroughput() { return getRequest().getProvisionedThroughput(); }
UpdateTableRequest req = spec.getRequest(); req.setTableName(getTableName()); UpdateTableResult result = client.updateTable(req);
public UpdateTableSpec withAttributeDefinitions( AttributeDefinition... attributeDefinitions) { getRequest().withAttributeDefinitions(attributeDefinitions); return this; }
public UpdateTableSpec withProvisionedThroughput( ProvisionedThroughput provisionedThroughput) { getRequest().setProvisionedThroughput(provisionedThroughput); return this; }
public UpdateTableSpec withAttributeDefinitions( Collection<AttributeDefinition> attributeDefinitions) { getRequest().withAttributeDefinitions(attributeDefinitions); return this; }
public ProvisionedThroughput getProvisionedThroughput() { return getRequest().getProvisionedThroughput(); }
public List<AttributeDefinition> getAttributeDefinitions() { return getRequest().getAttributeDefinitions(); }
public UpdateTableSpec withGlobalSecondaryIndexUpdates( GlobalSecondaryIndexUpdate... globalSecondaryIndexUpdates) { getRequest().withGlobalSecondaryIndexUpdates( globalSecondaryIndexUpdates); return this; }
public UpdateTableSpec withGlobalSecondaryIndexUpdates( Collection<GlobalSecondaryIndexUpdate> globalSecondaryIndexUpdates) { getRequest().withGlobalSecondaryIndexUpdates( globalSecondaryIndexUpdates); return this; } }
UpdateTableRequest req = spec.getRequest(); req.setTableName(getTableName()); UpdateTableResult result = client.updateTable(req);