/** * @param tags * @return Returns a reference to this object so that method calls can be chained together. */ public CopyDBClusterParameterGroupRequest withTags(java.util.Collection<Tag> tags) { setTags(tags); return this; }
/** * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. * </p> * * @param tags * @return Returns a reference to this object so that method calls can be chained together. */ public CopyDBClusterParameterGroupRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList<Tag>(tags.length)); } for (Tag ele : tags) { this.tags.add(ele); } return this; }
/** * @param tags * @return Returns a reference to this object so that method calls can be chained together. */ public CopyDBClusterParameterGroupRequest withTags(java.util.Collection<Tag> tags) { setTags(tags); return this; }
/** * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. * </p> * * @param tags * @return Returns a reference to this object so that method calls can be chained together. */ public CopyDBClusterParameterGroupRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList<Tag>(tags.length)); } for (Tag ele : tags) { this.tags.add(ele); } return this; }