Interface PermissionEntry.Builder

    • Method Detail

      • role

        PermissionEntry.Builder role​(String role)

        Specifies whether the user or group has the Admin, Editor, or Viewer role.

        Parameters:
        role - Specifies whether the user or group has the Admin, Editor, or Viewer role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Role, Role
      • role

        PermissionEntry.Builder role​(Role role)

        Specifies whether the user or group has the Admin, Editor, or Viewer role.

        Parameters:
        role - Specifies whether the user or group has the Admin, Editor, or Viewer role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Role, Role
      • user

        PermissionEntry.Builder user​(User user)

        A structure with the ID of the user or group with this role.

        Parameters:
        user - A structure with the ID of the user or group with this role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.