Package com.microsoft.graph.models
Class PermissionGrantParameterSet.PermissionGrantParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.PermissionGrantParameterSet.PermissionGrantParameterSetBuilder
- Enclosing class:
PermissionGrantParameterSet
public static final class PermissionGrantParameterSet.PermissionGrantParameterSetBuilder
extends Object
Fluent builder for the PermissionGrantParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DriveRecipient>The recipients parameter valueThe roles parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new PermissionGrantParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()Buils the resulting body object to be passed to the requestwithRecipients(List<DriveRecipient> val) Sets the RecipientsSets the Roles
-
Field Details
-
roles
The roles parameter value -
recipients
The recipients parameter value
-
-
Constructor Details
-
PermissionGrantParameterSetBuilder
@Nullable protected PermissionGrantParameterSetBuilder()Instanciates a new PermissionGrantParameterSetBuilder
-
-
Method Details
-
withRoles
@Nonnull public PermissionGrantParameterSet.PermissionGrantParameterSetBuilder withRoles(@Nullable List<String> val) Sets the Roles- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withRecipients
@Nonnull public PermissionGrantParameterSet.PermissionGrantParameterSetBuilder withRecipients(@Nullable List<DriveRecipient> val) Sets the Recipients- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
build
Buils the resulting body object to be passed to the request- Returns:
- the body object to pass to the request
-