/** * <p> * The array of attribute keys that you want to remove from specified findings. * </p> * * @param attributeKeys * The array of attribute keys that you want to remove from specified findings. * @return Returns a reference to this object so that method calls can be chained together. */ public RemoveAttributesFromFindingsRequest withAttributeKeys(java.util.Collection<String> attributeKeys) { setAttributeKeys(attributeKeys); return this; }
/** * <p> * The array of attribute keys that you want to remove from specified findings. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setAttributeKeys(java.util.Collection)} or {@link #withAttributeKeys(java.util.Collection)} if you want * to override the existing values. * </p> * * @param attributeKeys * The array of attribute keys that you want to remove from specified findings. * @return Returns a reference to this object so that method calls can be chained together. */ public RemoveAttributesFromFindingsRequest withAttributeKeys(String... attributeKeys) { if (this.attributeKeys == null) { setAttributeKeys(new java.util.ArrayList<String>(attributeKeys.length)); } for (String ele : attributeKeys) { this.attributeKeys.add(ele); } return this; }
/** * <p> * The array of attribute keys that you want to remove from specified findings. * </p> * * @param attributeKeys * The array of attribute keys that you want to remove from specified findings. * @return Returns a reference to this object so that method calls can be chained together. */ public RemoveAttributesFromFindingsRequest withAttributeKeys(java.util.Collection<String> attributeKeys) { setAttributeKeys(attributeKeys); return this; }
/** * <p> * The array of attribute keys that you want to remove from specified findings. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setAttributeKeys(java.util.Collection)} or {@link #withAttributeKeys(java.util.Collection)} if you want * to override the existing values. * </p> * * @param attributeKeys * The array of attribute keys that you want to remove from specified findings. * @return Returns a reference to this object so that method calls can be chained together. */ public RemoveAttributesFromFindingsRequest withAttributeKeys(String... attributeKeys) { if (this.attributeKeys == null) { setAttributeKeys(new java.util.ArrayList<String>(attributeKeys.length)); } for (String ele : attributeKeys) { this.attributeKeys.add(ele); } return this; }