Package com.microsoft.graph.models
Class DriveItemAssignSensitivityLabelParameterSet.DriveItemAssignSensitivityLabelParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.DriveItemAssignSensitivityLabelParameterSet.DriveItemAssignSensitivityLabelParameterSetBuilder
- Enclosing class:
DriveItemAssignSensitivityLabelParameterSet
public static final class DriveItemAssignSensitivityLabelParameterSet.DriveItemAssignSensitivityLabelParameterSetBuilder
extends Object
Fluent builder for the DriveItemAssignSensitivityLabelParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SensitivityLabelAssignmentMethodThe assignmentMethod parameter valueprotected StringThe justificationText parameter valueprotected StringThe sensitivityLabelId parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new DriveItemAssignSensitivityLabelParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()Buils the resulting body object to be passed to the requestSets the AssignmentMethodSets the JustificationTextSets the SensitivityLabelId
-
Field Details
-
sensitivityLabelId
The sensitivityLabelId parameter value -
assignmentMethod
The assignmentMethod parameter value -
justificationText
The justificationText parameter value
-
-
Constructor Details
-
DriveItemAssignSensitivityLabelParameterSetBuilder
@Nullable protected DriveItemAssignSensitivityLabelParameterSetBuilder()Instanciates a new DriveItemAssignSensitivityLabelParameterSetBuilder
-
-
Method Details
-
withSensitivityLabelId
@Nonnull public DriveItemAssignSensitivityLabelParameterSet.DriveItemAssignSensitivityLabelParameterSetBuilder withSensitivityLabelId(@Nullable String val) Sets the SensitivityLabelId- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withAssignmentMethod
@Nonnull public DriveItemAssignSensitivityLabelParameterSet.DriveItemAssignSensitivityLabelParameterSetBuilder withAssignmentMethod(@Nullable SensitivityLabelAssignmentMethod val) Sets the AssignmentMethod- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withJustificationText
@Nonnull public DriveItemAssignSensitivityLabelParameterSet.DriveItemAssignSensitivityLabelParameterSetBuilder withJustificationText(@Nullable String val) Sets the JustificationText- 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
-