/** * <p> * The key attribute(s) of the stream's DynamoDB table. * </p> * * @param keySchema * The key attribute(s) of the stream's DynamoDB table. * @return Returns a reference to this object so that method calls can be chained together. */ public StreamDescription withKeySchema(java.util.Collection<KeySchemaElement> keySchema) { setKeySchema(keySchema); return this; }
/** * <p> * The key attribute(s) of the stream's DynamoDB table. * </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 attribute(s) of the stream's DynamoDB table. * @return Returns a reference to this object so that method calls can be chained together. */ public StreamDescription 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; }
streamDescription.setKeySchema(new ListUnmarshaller<KeySchemaElement>(KeySchemaElementJsonUnmarshaller.getInstance()).unmarshall(context));
/** * <p> * The key attribute(s) of the stream's DynamoDB table. * </p> * * @param keySchema * The key attribute(s) of the stream's DynamoDB table. * @return Returns a reference to this object so that method calls can be chained together. */ public StreamDescription withKeySchema(java.util.Collection<KeySchemaElement> keySchema) { setKeySchema(keySchema); return this; }
/** * <p> * The key attribute(s) of the stream's DynamoDB table. * </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 attribute(s) of the stream's DynamoDB table. * @return Returns a reference to this object so that method calls can be chained together. */ public StreamDescription 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; }
streamDescription.setKeySchema(new ListUnmarshaller<KeySchemaElement>(KeySchemaElementJsonUnmarshaller.getInstance()).unmarshall(context));