public CreateLinkRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
<p>
Assigns one or more tags (key-value pairs) to the link.
</p>
<p>
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by
granting a user permission to access or change only resources with certain tag values.
</p>
<p>
For more information about using tags to control access, see <a
href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web
Services resources using tags</a>.
</p>

@param tags
       Assigns one or more tags (key-value pairs) to the link. </p>
       <p>
       Tags can help you organize and categorize your resources. You can also use them to scope user permissions
       by granting a user permission to access or change only resources with certain tag values.
       </p>
       <p>
       For more information about using tags to control access, see <a
       href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web
       Services resources using tags</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-oam/src/main/java/com/amazonaws/services/oam/model/CreateLinkRequest.java