Class AddPermissionRequest.AddPermissionRequestBuilder
java.lang.Object
com.amilesend.onedrive.resource.request.AddPermissionRequest.AddPermissionRequestBuilder
- Enclosing class:
AddPermissionRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()A message to include in the invite.recipients(List<DriveRecipient> recipients) The list of recipients.requireSignIn(boolean requireSignIn) Indicates if accessing the shared item requires sign-in.The allowed roles granted to the recipients.sendInvitation(boolean sendInvitation) Indicates if an invitation should be sent to the recipient, or just grant the permission.toString()
-
Method Details
-
recipients
The list of recipients.- Returns:
this.
-
message
A message to include in the invite.- Returns:
this.
-
requireSignIn
Indicates if accessing the shared item requires sign-in.- Returns:
this.
-
sendInvitation
Indicates if an invitation should be sent to the recipient, or just grant the permission.- Returns:
this.
-
roles
The allowed roles granted to the recipients. Valid values include:- read
- write
- Returns:
this.
-
build
-
toString
-