Interface PermissionEntry.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PermissionEntry.Builder,PermissionEntry>, SdkBuilder<PermissionEntry.Builder,PermissionEntry>, SdkPojo
Enclosing class:
PermissionEntry

public static interface PermissionEntry.Builder extends SdkPojo, CopyableBuilder<PermissionEntry.Builder,PermissionEntry>
  • Method Details

    • 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

      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:
    • 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.
    • user

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

      This is a convenience method that creates an instance of the User.Builder avoiding the need to create one manually via User.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to user(User).

      Parameters:
      user - a consumer that will call methods on User.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: