Package com.microsoft.graph.models
Class ChannelDoesUserHaveAccessParameterSet.ChannelDoesUserHaveAccessParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.ChannelDoesUserHaveAccessParameterSet.ChannelDoesUserHaveAccessParameterSetBuilder
- Enclosing class:
ChannelDoesUserHaveAccessParameterSet
public static final class ChannelDoesUserHaveAccessParameterSet.ChannelDoesUserHaveAccessParameterSetBuilder
extends Object
Fluent builder for the ChannelDoesUserHaveAccessParameterSet
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Instanciates a new ChannelDoesUserHaveAccessParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Buils the resulting body object to be passed to the requestwithTenantId
(String val) Sets the TenantIdwithUserId
(String val) Sets the UserIdSets the UserPrincipalName
-
Field Details
-
userId
The userId parameter value -
tenantId
The tenantId parameter value -
userPrincipalName
The userPrincipalName parameter value
-
-
Constructor Details
-
ChannelDoesUserHaveAccessParameterSetBuilder
@Nullable protected ChannelDoesUserHaveAccessParameterSetBuilder()Instanciates a new ChannelDoesUserHaveAccessParameterSetBuilder
-
-
Method Details
-
withUserId
@Nonnull public ChannelDoesUserHaveAccessParameterSet.ChannelDoesUserHaveAccessParameterSetBuilder withUserId(@Nullable String val) Sets the UserId- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withTenantId
@Nonnull public ChannelDoesUserHaveAccessParameterSet.ChannelDoesUserHaveAccessParameterSetBuilder withTenantId(@Nullable String val) Sets the TenantId- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withUserPrincipalName
@Nonnull public ChannelDoesUserHaveAccessParameterSet.ChannelDoesUserHaveAccessParameterSetBuilder withUserPrincipalName(@Nullable String val) Sets the UserPrincipalName- 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
-