public CreateGrantResult withGrantToken(String grantToken) {
        setGrantToken(grantToken);
        return this;
    }
<p>
The grant token.
</p>
<p>
Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved
<i>eventual consistency</i>. For more information, see <a
href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token">Grant token</a> and <a
href="https://docs.aws.amazon.com/kms/latest/developerguide/grant-manage.html#using-grant-token">Using a grant
token</a> in the <i>Key Management Service Developer Guide</i>.
</p>

@param grantToken
       The grant token.</p>
       <p>
       Use a grant token when your permission to call this operation comes from a new grant that has not yet
       achieved <i>eventual consistency</i>. For more information, see <a
       href="https://docs.aws.amazon.com/kms/latest/developerguide/grants.html#grant_token">Grant token</a> and
       <a href="https://docs.aws.amazon.com/kms/latest/developerguide/grant-manage.html#using-grant-token">Using
       a grant token</a> in the <i>Key Management Service Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/CreateGrantResult.java