public RegisterCACertificateRequest withTags(Tag... tags) {
        if (this.tags == null) {
            setTags(new java.util.ArrayList<Tag>(tags.length));
        }
        for (Tag ele : tags) {
            this.tags.add(ele);
        }
        return this;
    }
<p>
Metadata which can be used to manage the CA certificate.
</p>
<note>
<p>
For URI Request parameters use format: ...key1=value1&amp;key2=value2...
</p>
<p>
For the CLI command-line parameter use format: &amp;&amp;tags "key1=value1&amp;key2=value2..."
</p>
<p>
For the cli-input-json file use format: "tags": "key1=value1&amp;key2=value2..."
</p>
</note>
<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
       Metadata which can be used to manage the CA certificate.</p> <note>
       <p>
       For URI Request parameters use format: ...key1=value1&amp;key2=value2...
       </p>
       <p>
       For the CLI command-line parameter use format: &amp;&amp;tags "key1=value1&amp;key2=value2..."
       </p>
       <p>
       For the cli-input-json file use format: "tags": "key1=value1&amp;key2=value2..."
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/RegisterCACertificateRequest.java