Class SetUserGroupsForUserRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- SetUserGroupsForUserRequest
public static final class SetUserGroupsForUserRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SetUserGroupsForUserRequest
build()
SetUserGroupsForUserRequest.Builder
but()
Deprecated.This method will be removed in the future.String
toString()
SetUserGroupsForUserRequest.Builder
userGroupIds(@NotNull List<UUID> userGroupIds)
Required. The list of IDs of the user groups which the user should be assigned to.SetUserGroupsForUserRequest.Builder
userId(@NotNull UUID userId)
Required. The ID of the user who should be assigned to the user groups.
-
-
-
Method Detail
-
but
@Deprecated public SetUserGroupsForUserRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useSetUserGroupsForUserRequest.builder()
Clone method for this builder.
-
userId
public SetUserGroupsForUserRequest.Builder userId(@NotNull @NotNull UUID userId)
Required. The ID of the user who should be assigned to the user groups.Silently ignored if the ID is provided as path parameter of the request; otherwise required.
- Returns:
this
.
-
userGroupIds
public SetUserGroupsForUserRequest.Builder userGroupIds(@NotNull @NotNull List<UUID> userGroupIds)
Required. The list of IDs of the user groups which the user should be assigned to.- Returns:
this
.
-
build
public SetUserGroupsForUserRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-