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