Package com.microsoft.graph.models
Class DriveItemInviteParameterSet.DriveItemInviteParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.DriveItemInviteParameterSet.DriveItemInviteParameterSetBuilder
- Enclosing class:
DriveItemInviteParameterSet
public static final class DriveItemInviteParameterSet.DriveItemInviteParameterSetBuilder
extends Object
Fluent builder for the DriveItemInviteParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe expirationDateTime parameter valueprotected StringThe message parameter valueprotected StringThe password parameter valueprotected List<DriveRecipient>The recipients parameter valueprotected BooleanThe requireSignIn parameter valueprotected BooleanThe retainInheritedPermissions parameter valueThe roles parameter valueprotected BooleanThe sendInvitation parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new DriveItemInviteParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()Buils the resulting body object to be passed to the requestSets the ExpirationDateTimewithMessage(String val) Sets the MessagewithPassword(String val) Sets the PasswordwithRecipients(List<DriveRecipient> val) Sets the RecipientswithRequireSignIn(Boolean val) Sets the RequireSignInSets the RetainInheritedPermissionsSets the RolesSets the SendInvitation
-
Field Details
-
requireSignIn
The requireSignIn parameter value -
roles
The roles parameter value -
sendInvitation
The sendInvitation parameter value -
message
The message parameter value -
recipients
The recipients parameter value -
retainInheritedPermissions
The retainInheritedPermissions parameter value -
expirationDateTime
The expirationDateTime parameter value -
password
The password parameter value
-
-
Constructor Details
-
DriveItemInviteParameterSetBuilder
@Nullable protected DriveItemInviteParameterSetBuilder()Instanciates a new DriveItemInviteParameterSetBuilder
-
-
Method Details
-
withRequireSignIn
@Nonnull public DriveItemInviteParameterSet.DriveItemInviteParameterSetBuilder withRequireSignIn(@Nullable Boolean val) Sets the RequireSignIn- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withRoles
@Nonnull public DriveItemInviteParameterSet.DriveItemInviteParameterSetBuilder withRoles(@Nullable List<String> val) Sets the Roles- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withSendInvitation
@Nonnull public DriveItemInviteParameterSet.DriveItemInviteParameterSetBuilder withSendInvitation(@Nullable Boolean val) Sets the SendInvitation- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withMessage
@Nonnull public DriveItemInviteParameterSet.DriveItemInviteParameterSetBuilder withMessage(@Nullable String val) Sets the Message- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withRecipients
@Nonnull public DriveItemInviteParameterSet.DriveItemInviteParameterSetBuilder withRecipients(@Nullable List<DriveRecipient> val) Sets the Recipients- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withRetainInheritedPermissions
@Nonnull public DriveItemInviteParameterSet.DriveItemInviteParameterSetBuilder withRetainInheritedPermissions(@Nullable Boolean val) Sets the RetainInheritedPermissions- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withExpirationDateTime
@Nonnull public DriveItemInviteParameterSet.DriveItemInviteParameterSetBuilder withExpirationDateTime(@Nullable String val) Sets the ExpirationDateTime- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withPassword
@Nonnull public DriveItemInviteParameterSet.DriveItemInviteParameterSetBuilder withPassword(@Nullable String val) Sets the Password- 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
-