/** * <p> * The list of tags to be removed from the specified queue. * </p> * * @param tagKeys * The list of tags to be removed from the specified queue. * @return Returns a reference to this object so that method calls can be chained together. */ public UntagQueueRequest withTagKeys(java.util.Collection<String> tagKeys) { setTagKeys(tagKeys); return this; }
/** * Constructs a new UntagQueueRequest object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param queueUrl * The URL of the queue. * @param tagKeys * The list of tags to be removed from the specified queue. */ public UntagQueueRequest(String queueUrl, java.util.List<String> tagKeys) { setQueueUrl(queueUrl); setTagKeys(tagKeys); }
/** * <p> * The list of tags to be removed from the specified queue. * </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 list of tags to be removed from the specified queue. * @return Returns a reference to this object so that method calls can be chained together. */ public UntagQueueRequest withTagKeys(String... tagKeys) { if (this.tagKeys == null) { setTagKeys(new com.amazonaws.internal.SdkInternalList<String>(tagKeys.length)); } for (String ele : tagKeys) { this.tagKeys.add(ele); } return this; }
/** * <p> * The list of tags to be removed from the specified queue. * </p> * * @param tagKeys * The list of tags to be removed from the specified queue. * @return Returns a reference to this object so that method calls can be chained together. */ public UntagQueueRequest withTagKeys(java.util.Collection<String> tagKeys) { setTagKeys(tagKeys); return this; }
/** * Constructs a new UntagQueueRequest object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param queueUrl * The URL of the queue. * @param tagKeys * The list of tags to be removed from the specified queue. */ public UntagQueueRequest(String queueUrl, java.util.List<String> tagKeys) { setQueueUrl(queueUrl); setTagKeys(tagKeys); }
/** * <p> * The list of tags to be removed from the specified queue. * </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 list of tags to be removed from the specified queue. * @return Returns a reference to this object so that method calls can be chained together. */ public UntagQueueRequest withTagKeys(String... tagKeys) { if (this.tagKeys == null) { setTagKeys(new com.amazonaws.internal.SdkInternalList<String>(tagKeys.length)); } for (String ele : tagKeys) { this.tagKeys.add(ele); } return this; }