public java.util.List<Tag> getTags() {
        return tags;
    }
<p>
Assigns one or more tags to the Amazon Web Services Payment Cryptography key. Use this parameter to tag a key
when it is imported. To tag an existing Amazon Web Services Payment Cryptography key, use the <a
href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_TagResource.html">TagResource</a>
operation.
</p>
<p>
Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required, but 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 specified 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> <note>
<p>
Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.
</p>
</note>

@return Assigns one or more tags to the Amazon Web Services Payment Cryptography key. Use this parameter to tag a
        key when it is imported. To tag an existing Amazon Web Services Payment Cryptography key, use the <a
        href=
        "https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_TagResource.html">TagResource
        </a> operation.</p>
        <p>
        Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required, but 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 specified 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> <note>
        <p>
        Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the
        key.
        </p>
aws-java-sdk-paymentcryptography/src/main/java/com/amazonaws/services/paymentcryptography/model/ImportKeyRequest.java