public CreateCertificateRequest withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
The tag keys and optional values to add to the certificate during create.
</p>
<p>
Use the <code>TagResource</code> action to tag a resource after it's created.
</p>

@param tags
       The tag keys and optional values to add to the certificate during create.</p>
       <p>
       Use the <code>TagResource</code> action to tag a resource after it's created.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/CreateCertificateRequest.java