public void setTags(java.util.Collection<Tag> tags) {
        if (tags == null) {
            this.tags = null;
            return;
        }

        this.tags = new java.util.ArrayList<Tag>(tags);
    }
<p>
An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value
pair.
</p>
<p>
For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton
resources and tagging</a> in the <i>Proton User Guide</i>.
</p>

@param tags
       An optional list of metadata items that you can associate with the Proton service instance. A tag is a
       key-value pair.</p>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a>
       in the <i>Proton User Guide</i>.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/CreateServiceInstanceRequest.java