Package de.xima.fc.user
Class VirtualUser.Builder
- java.lang.Object
-
- de.xima.fc.user.VirtualUser.Builder
-
- Enclosing class:
- VirtualUser
@Generated("SparkTools") public static final class VirtualUser.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VirtualUser
build()
VirtualUser.Builder
withClientAuthorizations(Set<IClientAuthorization> clientAuthorizations)
VirtualUser.Builder
withDisplayName(String displayName)
VirtualUser.Builder
withEmail(String email)
VirtualUser.Builder
withFamilyName(String familyName)
VirtualUser.Builder
withFirstName(String firstName)
VirtualUser.Builder
withGender(EGender gender)
VirtualUser.Builder
withPermissions(Set<String> permissions)
VirtualUser.Builder
withPictureUrl(URI pictureUrl)
VirtualUser.Builder
withRoles(Set<String> roles)
VirtualUser.Builder
withUser(IUser user)
VirtualUser.Builder
withUserName(String userName)
VirtualUser.Builder
withUserProfile(UserProfile userProfile)
-
-
-
Method Detail
-
withUser
public VirtualUser.Builder withUser(IUser user)
-
withEmail
public VirtualUser.Builder withEmail(String email)
-
withUserName
public VirtualUser.Builder withUserName(String userName)
-
withFirstName
public VirtualUser.Builder withFirstName(String firstName)
-
withFamilyName
public VirtualUser.Builder withFamilyName(String familyName)
-
withDisplayName
public VirtualUser.Builder withDisplayName(String displayName)
-
withGender
public VirtualUser.Builder withGender(EGender gender)
-
withUserProfile
public VirtualUser.Builder withUserProfile(UserProfile userProfile)
-
withPictureUrl
public VirtualUser.Builder withPictureUrl(URI pictureUrl)
-
withRoles
public VirtualUser.Builder withRoles(Set<String> roles)
-
withPermissions
public VirtualUser.Builder withPermissions(Set<String> permissions)
-
withClientAuthorizations
public VirtualUser.Builder withClientAuthorizations(Set<IClientAuthorization> clientAuthorizations)
-
build
public VirtualUser build()
-
-