public OidcIdentityProviderConfigRequest withUsernameClaim(String usernameClaim) {
        setUsernameClaim(usernameClaim);
        return this;
    }
<p>
The JSON Web Token (JWT) claim to use as the username. The default is <code>sub</code>, which is expected to be a
unique identifier of the end user. You can choose other claims, such as <code>email</code> or <code>name</code>,
depending on the OIDC identity provider. Claims other than <code>email</code> are prefixed with the issuer URL to
prevent naming clashes with other plug-ins.
</p>

@param usernameClaim
       The JSON Web Token (JWT) claim to use as the username. The default is <code>sub</code>, which is expected
       to be a unique identifier of the end user. You can choose other claims, such as <code>email</code> or
       <code>name</code>, depending on the OIDC identity provider. Claims other than <code>email</code> are
       prefixed with the issuer URL to prevent naming clashes with other plug-ins.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/OidcIdentityProviderConfigRequest.java