code: public GetIdentityPoolRolesResult withRoleMappings(java.util.Map<String, RoleMapping> roleMappings) {
          setRoleMappings(roleMappings);
          return this;
      }
docs: <p>
  How users for a specific identity provider are to mapped to roles. This is a String-to-<a>RoleMapping</a> object
  map. The string identifies the identity provider, for example, "graph.facebook.com" or
  "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
  </p>
  
  @param roleMappings
  How users for a specific identity provider are to mapped to roles. This is a String-to-<a>RoleMapping</a>
  object map. The string identifies the identity provider, for example, "graph.facebook.com" or
  "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
  @return Returns a reference to this object so that method calls can be chained together.