public java.nio.ByteBuffer getMessage() {
        return this.message;
    }
<p>
The message to be hashed. Specify a message of up to 4,096 bytes.
</p>
<p>
<code>GenerateMac</code> and <a>VerifyMac</a> do not provide special handling for message digests. If you
generate an HMAC for a hash digest of a message, you must verify the HMAC of the same hash digest.
</p>
<p>
{@code ByteBuffer}s are stateful. Calling their {@code get} methods changes their {@code position}. We recommend
using {@link java.nio.ByteBuffer#asReadOnlyBuffer()} to create a read-only view of the buffer with an independent
{@code position}, and calling {@code get} methods on this rather than directly on the returned {@code ByteBuffer}.
Doing so will ensure that anyone else using the {@code ByteBuffer} will not be affected by changes to the
{@code position}.
</p>

@return The message to be hashed. Specify a message of up to 4,096 bytes. </p>
        <p>
        <code>GenerateMac</code> and <a>VerifyMac</a> do not provide special handling for message digests. If you
        generate an HMAC for a hash digest of a message, you must verify the HMAC of the same hash digest.
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/GenerateMacRequest.java