public Ipam 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;
    }
<p>
The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value
as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the
value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the
filter value.
</p>
<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
       The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the
       tag value as the filter value. For example, to find all resources that have a tag with the key
       <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name
       and <code>TeamA</code> for the filter value.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/Ipam.java