/** * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be * assigned to items. * * @param attributes * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that * can be assigned to items. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteAttributesRequest withAttributes(java.util.Collection<Attribute> attributes) { setAttributes(attributes); return this; }
/** * Constructs a new DeleteAttributesRequest 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 to perform the operation. * @param itemName * The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain * one or more value-attribute pairs. * @param attributes * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that * can be assigned to items. */ public DeleteAttributesRequest(String domainName, String itemName, java.util.List<Attribute> attributes) { setDomainName(domainName); setItemName(itemName); setAttributes(attributes); }
/** * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be * assigned to items. * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setAttributes(java.util.Collection)} or {@link #withAttributes(java.util.Collection)} if you want to * override the existing values. * </p> * * @param attributes * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that * can be assigned to items. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteAttributesRequest withAttributes(Attribute... attributes) { if (this.attributes == null) { setAttributes(new com.amazonaws.internal.SdkInternalList<Attribute>(attributes.length)); } for (Attribute ele : attributes) { this.attributes.add(ele); } return this; }
/** * Constructs a new DeleteAttributesRequest 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 to perform the operation. * @param itemName * The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain * one or more value-attribute pairs. * @param attributes * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that * can be assigned to items. * @param expected * The update condition which, if specified, determines whether the specified attributes will be deleted or * not. The update condition must be satisfied in order for this request to be processed and the attributes * to be deleted. */ public DeleteAttributesRequest(String domainName, String itemName, java.util.List<Attribute> attributes, UpdateCondition expected) { setDomainName(domainName); setItemName(itemName); setAttributes(attributes); setExpected(expected); }
/** * A list of Attributes. Similar to columns on a spreadsheet, attributes * represent categories of data that can be assigned to items. * <p> * Returns a reference to this object so that method calls can be chained together. * * @param attributes A list of Attributes. Similar to columns on a spreadsheet, attributes * represent categories of data that can be assigned to items. * * @return A reference to this updated object so that method calls can be chained * together. */ public DeleteAttributesRequest withAttributes(Attribute... attributes) { if (getAttributes() == null) setAttributes(new java.util.ArrayList<Attribute>(attributes.length)); for (Attribute value : attributes) { getAttributes().add(value); } return this; }
/** * Constructs a new DeleteAttributesRequest 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 to perform the * operation. * @param itemName The name of the item. Similar to rows on a * spreadsheet, items represent individual objects that contain one or * more value-attribute pairs. * @param attributes A list of Attributes. Similar to columns on a * spreadsheet, attributes represent categories of data that can be * assigned to items. */ public DeleteAttributesRequest(String domainName, String itemName, java.util.List<Attribute> attributes) { setDomainName(domainName); setItemName(itemName); setAttributes(attributes); }
/** * Constructs a new DeleteAttributesRequest 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 to perform the * operation. * @param itemName The name of the item. Similar to rows on a * spreadsheet, items represent individual objects that contain one or * more value-attribute pairs. * @param attributes A list of Attributes. Similar to columns on a * spreadsheet, attributes represent categories of data that can be * assigned to items. * @param expected The update condition which, if specified, determines * whether the specified attributes will be deleted or not. The update * condition must be satisfied in order for this request to be processed * and the attributes to be deleted. */ public DeleteAttributesRequest(String domainName, String itemName, java.util.List<Attribute> attributes, UpdateCondition expected) { setDomainName(domainName); setItemName(itemName); setAttributes(attributes); setExpected(expected); }
/** * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be * assigned to items. * * @param attributes * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that * can be assigned to items. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteAttributesRequest withAttributes(java.util.Collection<Attribute> attributes) { setAttributes(attributes); return this; }
/** * Constructs a new DeleteAttributesRequest 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 to perform the operation. * @param itemName * The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain * one or more value-attribute pairs. * @param attributes * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that * can be assigned to items. */ public DeleteAttributesRequest(String domainName, String itemName, java.util.List<Attribute> attributes) { setDomainName(domainName); setItemName(itemName); setAttributes(attributes); }
/** * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that can be * assigned to items. * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setAttributes(java.util.Collection)} or {@link #withAttributes(java.util.Collection)} if you want to * override the existing values. * </p> * * @param attributes * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that * can be assigned to items. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteAttributesRequest withAttributes(Attribute... attributes) { if (this.attributes == null) { setAttributes(new com.amazonaws.internal.SdkInternalList<Attribute>(attributes.length)); } for (Attribute ele : attributes) { this.attributes.add(ele); } return this; }
/** * Constructs a new DeleteAttributesRequest 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 to perform the operation. * @param itemName * The name of the item. Similar to rows on a spreadsheet, items represent individual objects that contain * one or more value-attribute pairs. * @param attributes * A list of Attributes. Similar to columns on a spreadsheet, attributes represent categories of data that * can be assigned to items. * @param expected * The update condition which, if specified, determines whether the specified attributes will be deleted or * not. The update condition must be satisfied in order for this request to be processed and the attributes * to be deleted. */ public DeleteAttributesRequest(String domainName, String itemName, java.util.List<Attribute> attributes, UpdateCondition expected) { setDomainName(domainName); setItemName(itemName); setAttributes(attributes); setExpected(expected); }