public String getTokenCode() {
        return this.tokenCode;
    }
<p>
The value provided by the MFA device, if the trust policy of the role being assumed requires MFA. (In other
words, if the policy includes a condition that tests for MFA). If the role being assumed requires MFA and if the
<code>TokenCode</code> value is missing or expired, the <code>AssumeRole</code> call returns an "access denied"
error.
</p>
<p>
The format for this parameter, as described by its regex pattern, is a sequence of six numeric digits.
</p>

@return The value provided by the MFA device, if the trust policy of the role being assumed requires MFA. (In
        other words, if the policy includes a condition that tests for MFA). If the role being assumed requires
        MFA and if the <code>TokenCode</code> value is missing or expired, the <code>AssumeRole</code> call
        returns an "access denied" error.</p>
        <p>
        The format for this parameter, as described by its regex pattern, is a sequence of six numeric digits.
aws-java-sdk-sts/src/main/java/com/amazonaws/services/securitytoken/model/AssumeRoleRequest.java