public CreateEnvironmentTemplateVersionRequest withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
An optional list of metadata items that you can associate with the Proton environment template version. 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 environment template version. 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>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/CreateEnvironmentTemplateVersionRequest.java