public CreateTokenWithIAMRequest withAssertion(String assertion) {
        setAssertion(assertion);
        return this;
    }
<p>
Used only when calling this API for the JWT Bearer grant type. This value specifies the JSON Web Token (JWT)
issued by a trusted token issuer. To authorize a trusted token issuer, configure the JWT Bearer GrantOptions for
the application.
</p>

@param assertion
       Used only when calling this API for the JWT Bearer grant type. This value specifies the JSON Web Token
       (JWT) issued by a trusted token issuer. To authorize a trusted token issuer, configure the JWT Bearer
       GrantOptions for the application.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssooidc/src/main/java/com/amazonaws/services/ssooidc/model/CreateTokenWithIAMRequest.java