Package com.microsoft.graph.models
Class ListItemCreateLinkParameterSet.ListItemCreateLinkParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.ListItemCreateLinkParameterSet.ListItemCreateLinkParameterSetBuilder
- Enclosing class:
ListItemCreateLinkParameterSet
public static final class ListItemCreateLinkParameterSet.ListItemCreateLinkParameterSetBuilder
extends Object
Fluent builder for the ListItemCreateLinkParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OffsetDateTimeThe expirationDateTime parameter valueprotected StringThe message parameter valueprotected StringThe password parameter valueprotected List<DriveRecipient>The recipients parameter valueprotected BooleanThe retainInheritedPermissions parameter valueprotected StringThe scope parameter valueprotected BooleanThe sendNotification parameter valueprotected StringThe type parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new ListItemCreateLinkParameterSetBuilder -
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 RecipientsSets the RetainInheritedPermissionsSets the ScopeSets the SendNotificationSets the Type
-
Field Details
-
type
The type parameter value -
scope
The scope parameter value -
expirationDateTime
The expirationDateTime parameter value -
password
The password parameter value -
message
The message parameter value -
recipients
The recipients parameter value -
retainInheritedPermissions
The retainInheritedPermissions parameter value -
sendNotification
The sendNotification parameter value
-
-
Constructor Details
-
ListItemCreateLinkParameterSetBuilder
@Nullable protected ListItemCreateLinkParameterSetBuilder()Instanciates a new ListItemCreateLinkParameterSetBuilder
-
-
Method Details
-
withType
@Nonnull public ListItemCreateLinkParameterSet.ListItemCreateLinkParameterSetBuilder withType(@Nullable String val) Sets the Type- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withScope
@Nonnull public ListItemCreateLinkParameterSet.ListItemCreateLinkParameterSetBuilder withScope(@Nullable String val) Sets the Scope- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withExpirationDateTime
@Nonnull public ListItemCreateLinkParameterSet.ListItemCreateLinkParameterSetBuilder withExpirationDateTime(@Nullable OffsetDateTime val) Sets the ExpirationDateTime- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withPassword
@Nonnull public ListItemCreateLinkParameterSet.ListItemCreateLinkParameterSetBuilder withPassword(@Nullable String val) Sets the Password- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withMessage
@Nonnull public ListItemCreateLinkParameterSet.ListItemCreateLinkParameterSetBuilder withMessage(@Nullable String val) Sets the Message- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withRecipients
@Nonnull public ListItemCreateLinkParameterSet.ListItemCreateLinkParameterSetBuilder withRecipients(@Nullable List<DriveRecipient> val) Sets the Recipients- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withRetainInheritedPermissions
@Nonnull public ListItemCreateLinkParameterSet.ListItemCreateLinkParameterSetBuilder withRetainInheritedPermissions(@Nullable Boolean val) Sets the RetainInheritedPermissions- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withSendNotification
@Nonnull public ListItemCreateLinkParameterSet.ListItemCreateLinkParameterSetBuilder withSendNotification(@Nullable Boolean val) Sets the SendNotification- 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
-