Package com.microsoft.graph.models
Class UserAssignLicenseParameterSet.UserAssignLicenseParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.UserAssignLicenseParameterSet.UserAssignLicenseParameterSetBuilder
- Enclosing class:
UserAssignLicenseParameterSet
public static final class UserAssignLicenseParameterSet.UserAssignLicenseParameterSetBuilder
extends Object
Fluent builder for the UserAssignLicenseParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AssignedLicense>
The addLicenses parameter valueThe removeLicenses parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Instanciates a new UserAssignLicenseParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Buils the resulting body object to be passed to the requestSets the AddLicenseswithRemoveLicenses
(List<UUID> val) Sets the RemoveLicenses
-
Field Details
-
addLicenses
The addLicenses parameter value -
removeLicenses
The removeLicenses parameter value
-
-
Constructor Details
-
UserAssignLicenseParameterSetBuilder
@Nullable protected UserAssignLicenseParameterSetBuilder()Instanciates a new UserAssignLicenseParameterSetBuilder
-
-
Method Details
-
withAddLicenses
@Nonnull public UserAssignLicenseParameterSet.UserAssignLicenseParameterSetBuilder withAddLicenses(@Nullable List<AssignedLicense> val) Sets the AddLicenses- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withRemoveLicenses
@Nonnull public UserAssignLicenseParameterSet.UserAssignLicenseParameterSetBuilder withRemoveLicenses(@Nullable List<UUID> val) Sets the RemoveLicenses- 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
-