/** * <p> * The name of the global secondary index to be updated. * </p> * * @param indexName * The name of the global secondary index to be updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateGlobalSecondaryIndexAction withIndexName(String indexName) { setIndexName(indexName); return this; }
if (context.testExpression("IndexName", targetDepth)) { context.nextToken(); updateGlobalSecondaryIndexAction.setIndexName(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * The name of the global secondary index to be updated. * </p> * * @param indexName * The name of the global secondary index to be updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateGlobalSecondaryIndexAction withIndexName(String indexName) { setIndexName(indexName); return this; }
public UpdateGlobalSecondaryIndexAction unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } UpdateGlobalSecondaryIndexAction updateGlobalSecondaryIndexAction = new UpdateGlobalSecondaryIndexAction(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("IndexName")) { updateGlobalSecondaryIndexAction.setIndexName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("ProvisionedThroughput")) { updateGlobalSecondaryIndexAction .setProvisionedThroughput(ProvisionedThroughputJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return updateGlobalSecondaryIndexAction; }
if (context.testExpression("IndexName", targetDepth)) { context.nextToken(); updateGlobalSecondaryIndexAction.setIndexName(context.getUnmarshaller(String.class).unmarshall(context));