Interface Principal.Builder

    • Method Detail

      • id

        Principal.Builder id​(String id)

        The ID of the resource.

        Parameters:
        id - The ID of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roles

        Principal.Builder roles​(Collection<PermissionInfo> roles)

        The permission information for the resource.

        Parameters:
        roles - The permission information for the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roles

        Principal.Builder roles​(PermissionInfo... roles)

        The permission information for the resource.

        Parameters:
        roles - The permission information for the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.