Interface SetIdentityPoolRolesRequest.Builder

    • Method Detail

      • identityPoolId

        SetIdentityPoolRolesRequest.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

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

        The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.

        Parameters:
        roles - The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleMappings

        SetIdentityPoolRolesRequest.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".

        Up to 25 rules can be specified per identity provider.

        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".

        Up to 25 rules can be specified per identity provider.

        Returns:
        Returns a reference to this object so that method calls can be chained together.