/** * A list of items on which to perform the operation. * * @param items * A list of items on which to perform the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchPutAttributesRequest withItems(java.util.Collection<ReplaceableItem> items) { setItems(items); return this; }
/** * Constructs a new BatchPutAttributesRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param domainName * The name of the domain in which the attributes are being stored. * @param items * A list of items on which to perform the operation. */ public BatchPutAttributesRequest(String domainName, java.util.List<ReplaceableItem> items) { setDomainName(domainName); setItems(items); }
/** * A list of items on which to perform the operation. * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setItems(java.util.Collection)} or {@link #withItems(java.util.Collection)} if you want to override the * existing values. * </p> * * @param items * A list of items on which to perform the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchPutAttributesRequest withItems(ReplaceableItem... items) { if (this.items == null) { setItems(new com.amazonaws.internal.SdkInternalList<ReplaceableItem>(items.length)); } for (ReplaceableItem ele : items) { this.items.add(ele); } return this; }
/** * Constructs a new BatchPutAttributesRequest object. * Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param domainName The name of the domain in which the attributes are * being stored. * @param items A list of items on which to perform the operation. */ public BatchPutAttributesRequest(String domainName, java.util.List<ReplaceableItem> items) { setDomainName(domainName); setItems(items); }
/** * A list of items on which to perform the operation. * <p> * Returns a reference to this object so that method calls can be chained together. * * @param items A list of items on which to perform the operation. * * @return A reference to this updated object so that method calls can be chained * together. */ public BatchPutAttributesRequest withItems(ReplaceableItem... items) { if (getItems() == null) setItems(new java.util.ArrayList<ReplaceableItem>(items.length)); for (ReplaceableItem value : items) { getItems().add(value); } return this; }
/** * A list of items on which to perform the operation. * * @param items * A list of items on which to perform the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchPutAttributesRequest withItems(java.util.Collection<ReplaceableItem> items) { setItems(items); return this; }
/** * Constructs a new BatchPutAttributesRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param domainName * The name of the domain in which the attributes are being stored. * @param items * A list of items on which to perform the operation. */ public BatchPutAttributesRequest(String domainName, java.util.List<ReplaceableItem> items) { setDomainName(domainName); setItems(items); }
/** * A list of items on which to perform the operation. * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setItems(java.util.Collection)} or {@link #withItems(java.util.Collection)} if you want to override the * existing values. * </p> * * @param items * A list of items on which to perform the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchPutAttributesRequest withItems(ReplaceableItem... items) { if (this.items == null) { setItems(new com.amazonaws.internal.SdkInternalList<ReplaceableItem>(items.length)); } for (ReplaceableItem ele : items) { this.items.add(ele); } return this; }