/** * <p> * The keys of the tags to be removed. * </p> * * @param tagKeys * The keys of the tags to be removed. * @return Returns a reference to this object so that method calls can be chained together. */ public UntagResourceRequest withTagKeys(java.util.Collection<String> tagKeys) { setTagKeys(tagKeys); return this; }
/** * <p> * The keys of the tags to be removed. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setTagKeys(java.util.Collection)} or {@link #withTagKeys(java.util.Collection)} if you want to override * the existing values. * </p> * * @param tagKeys * The keys of the tags to be removed. * @return Returns a reference to this object so that method calls can be chained together. */ public UntagResourceRequest withTagKeys(String... tagKeys) { if (this.tagKeys == null) { setTagKeys(new java.util.ArrayList<String>(tagKeys.length)); } for (String ele : tagKeys) { this.tagKeys.add(ele); } return this; }
/** * <p> * The keys of the tags to be removed. * </p> * * @param tagKeys * The keys of the tags to be removed. * @return Returns a reference to this object so that method calls can be chained together. */ public UntagResourceRequest withTagKeys(java.util.Collection<String> tagKeys) { setTagKeys(tagKeys); return this; }
/** * <p> * The keys of the tags to be removed. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setTagKeys(java.util.Collection)} or {@link #withTagKeys(java.util.Collection)} if you want to override * the existing values. * </p> * * @param tagKeys * The keys of the tags to be removed. * @return Returns a reference to this object so that method calls can be chained together. */ public UntagResourceRequest withTagKeys(String... tagKeys) { if (this.tagKeys == null) { setTagKeys(new java.util.ArrayList<String>(tagKeys.length)); } for (String ele : tagKeys) { this.tagKeys.add(ele); } return this; }