public void setTags(java.util.Map<String, String> tags) {
        this.tags = tags;
    }
<p>
A map of key-value pairs that specifies the tags to associate with the allow list.
</p>
<p>
An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The
maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
</p>

@param tags
       A map of key-value pairs that specifies the tags to associate with the allow list.</p>
       <p>
       An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value.
       The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/CreateAllowListRequest.java