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