Interface GetIdentityPoolRolesResponse.Builder

    • Method Detail

      • identityPoolId

        GetIdentityPoolRolesResponse.Builder identityPoolId​(String identityPoolId)

        An identity pool ID in the format REGION:GUID.

        Parameters:
        identityPoolId - An identity pool ID in the format REGION:GUID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roles

        GetIdentityPoolRolesResponse.Builder roles​(Map<String,​String> roles)

        The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.

        Parameters:
        roles - The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleMappings

        GetIdentityPoolRolesResponse.Builder roleMappings​(Map<String,​RoleMapping> roleMappings)

        How users for a specific identity provider are to mapped to roles. This is a String-to-RoleMapping 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".

        Parameters:
        roleMappings - How users for a specific identity provider are to mapped to roles. This is a String-to-RoleMapping 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".
        Returns:
        Returns a reference to this object so that method calls can be chained together.