/** * <p> * The key schema for the global secondary index. * </p> * * @param keySchema * The key schema for the global secondary index. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGlobalSecondaryIndexAction withKeySchema(java.util.Collection<KeySchemaElement> keySchema) { setKeySchema(keySchema); return this; }
/** * <p> * The key schema for the global secondary index. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setKeySchema(java.util.Collection)} or {@link #withKeySchema(java.util.Collection)} if you want to * override the existing values. * </p> * * @param keySchema * The key schema for the global secondary index. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGlobalSecondaryIndexAction withKeySchema(KeySchemaElement... keySchema) { if (this.keySchema == null) { setKeySchema(new java.util.ArrayList<KeySchemaElement>(keySchema.length)); } for (KeySchemaElement ele : keySchema) { this.keySchema.add(ele); } return this; }
/** * <p> * The key schema for the global secondary index. * </p> * <p> * Returns a reference to this object so that method calls can be chained * together. * * @param keySchema <p> * The key schema for the global secondary index. * </p> * @return A reference to this updated object so that method calls can be * chained together. */ public CreateGlobalSecondaryIndexAction withKeySchema( java.util.Collection<KeySchemaElement> keySchema) { setKeySchema(keySchema); return this; }
createGlobalSecondaryIndexAction.setKeySchema(new ListUnmarshaller<KeySchemaElement>(KeySchemaElementJsonUnmarshaller.getInstance()) .unmarshall(context));
} else if (name.equals("KeySchema")) { createGlobalSecondaryIndexAction .setKeySchema(new ListUnmarshaller<KeySchemaElement>( KeySchemaElementJsonUnmarshaller.getInstance()
/** * <p> * The key schema for the global secondary index. * </p> * * @param keySchema * The key schema for the global secondary index. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGlobalSecondaryIndexAction withKeySchema(java.util.Collection<KeySchemaElement> keySchema) { setKeySchema(keySchema); return this; }
/** * <p> * The key schema for the global secondary index. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setKeySchema(java.util.Collection)} or {@link #withKeySchema(java.util.Collection)} if you want to * override the existing values. * </p> * * @param keySchema * The key schema for the global secondary index. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGlobalSecondaryIndexAction withKeySchema(KeySchemaElement... keySchema) { if (this.keySchema == null) { setKeySchema(new java.util.ArrayList<KeySchemaElement>(keySchema.length)); } for (KeySchemaElement ele : keySchema) { this.keySchema.add(ele); } return this; }
createGlobalSecondaryIndexAction.setKeySchema(new ListUnmarshaller<KeySchemaElement>(KeySchemaElementJsonUnmarshaller.getInstance()) .unmarshall(context));