public java.util.List<Tag> getTags() {
        return tags;
    }
<p>
One or more tags. Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string.
You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you
specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the
current tag value with the new one.
</p>
<important>
<p>
Don't include personal, confidential or sensitive information in this field. This field may be displayed in
plaintext in CloudTrail logs and other output.
</p>
</important>
<p>
To use this parameter, you must have <a
href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_TagResource.html">TagResource</a>
permission in an IAM policy.
</p>
<important>
<p>
Don't include personal, confidential or sensitive information in this field. This field may be displayed in
plaintext in CloudTrail logs and other output.
</p>
</important>

@return One or more tags. Each tag consists of a tag key and a tag value. The tag value can be an empty (null)
        string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same
        tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment
        Cryptography replaces the current tag value with the new one.</p> <important>
        <p>
        Don't include personal, confidential or sensitive information in this field. This field may be displayed
        in plaintext in CloudTrail logs and other output.
        </p>
        </important>
        <p>
        To use this parameter, you must have <a
        href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_TagResource.html"
        >TagResource</a> permission in an IAM policy.
        </p>
        <important>
        <p>
        Don't include personal, confidential or sensitive information in this field. This field may be displayed
        in plaintext in CloudTrail logs and other output.
        </p>
aws-java-sdk-paymentcryptography/src/main/java/com/amazonaws/services/paymentcryptography/model/TagResourceRequest.java