/** * <p> * The name of an existing global secondary index, along with new provisioned throughput settings to be applied to * that index. * </p> * * @param update * The name of an existing global secondary index, along with new provisioned throughput settings to be * applied to that index. * @return Returns a reference to this object so that method calls can be chained together. */ public GlobalSecondaryIndexUpdate withUpdate(UpdateGlobalSecondaryIndexAction update) { setUpdate(update); return this; }
if (context.testExpression("Update", targetDepth)) { context.nextToken(); globalSecondaryIndexUpdate.setUpdate(UpdateGlobalSecondaryIndexActionJsonUnmarshaller.getInstance().unmarshall(context));
/** * <p> * The name of an existing global secondary index, along with new provisioned throughput settings to be applied to * that index. * </p> * * @param update * The name of an existing global secondary index, along with new provisioned throughput settings to be * applied to that index. * @return Returns a reference to this object so that method calls can be chained together. */ public GlobalSecondaryIndexUpdate withUpdate(UpdateGlobalSecondaryIndexAction update) { setUpdate(update); return this; }
public GlobalSecondaryIndexUpdate unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } GlobalSecondaryIndexUpdate globalSecondaryIndexUpdate = new GlobalSecondaryIndexUpdate(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("Update")) { globalSecondaryIndexUpdate .setUpdate(UpdateGlobalSecondaryIndexActionJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Create")) { globalSecondaryIndexUpdate .setCreate(CreateGlobalSecondaryIndexActionJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Delete")) { globalSecondaryIndexUpdate .setDelete(DeleteGlobalSecondaryIndexActionJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return globalSecondaryIndexUpdate; }
if (context.testExpression("Update", targetDepth)) { context.nextToken(); globalSecondaryIndexUpdate.setUpdate(UpdateGlobalSecondaryIndexActionJsonUnmarshaller.getInstance().unmarshall(context));