Package com.okta.sdk.resource.user
Interface UserBuilder
- All Known Implementing Classes:
DefaultUserBuilder
public interface UserBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuildAndCreate
(UserApi client) static UserBuilder
instance()
setBcryptPasswordHash
(String value) setBcryptPasswordHash
(String value, String salt, int workFactor) setCostCenter
(String costCenter) setCountryCode
(String countryCode) setCustomProfileProperty
(String key, Object value) setDepartment
(String department) setDisplayName
(String displayName) setDivision
(String division) setEmployeeNumber
(String employeeNumber) setFirstName
(String firstName) default UserBuilder
setHonorificPrefix
(String honorificPrefix) setHonorificSuffix
(String honorificSuffix) setLastName
(String lastName) setManager
(String manager) setManagerId
(String managerId) setMiddleName
(String middleName) setMobilePhone
(String mobilePhone) setNextLogin
(UserNextLogin nextLogin) setNickName
(String nickName) setOrganization
(String organization) setPassword
(char[] password) setPostalAddress
(String postalAddress) setPreferredLanguage
(String preferredLanguage) setPrimaryPhone
(String primaryPhone) setProfileUrl
(String profileUrl) setProvider
(AuthenticationProvider provider) setSecondEmail
(String secondEmail) setSecurityQuestion
(String question) setSecurityQuestionAnswer
(String answer) setSha1PasswordHash
(String value, String salt, String saltOrder) setSha256PasswordHash
(String value, String salt, String saltOrder) setSha512PasswordHash
(String value, String salt, String saltOrder) setStreetAddress
(String streetAddress) setTimezone
(String timezone) setZipCode
(String zipCode)
-
Method Details
-
instance
-
setPassword
-
usePasswordHookForImport
UserBuilder usePasswordHookForImport() -
usePasswordHookForImport
-
setSecurityQuestion
-
setSecurityQuestionAnswer
-
setEmail
-
setFirstName
-
setLastName
-
setMiddleName
-
setHonorificPrefix
-
setHonorificSuffix
-
setTitle
-
setDisplayName
-
setNickName
-
setProfileUrl
-
setPrimaryPhone
-
setStreetAddress
-
setCity
-
setState
-
setZipCode
-
setCountryCode
-
setPostalAddress
-
setPreferredLanguage
-
setLocale
-
setTimezone
-
setEmployeeNumber
-
setCostCenter
-
setOrganization
-
setDivision
-
setDepartment
-
setManagerId
-
setManager
-
setLogin
-
setMobilePhone
-
setSecondEmail
-
setActive
-
setProvider
-
setType
-
setGroups
-
setGroups
-
addGroup
-
setNextLogin
-
setBcryptPasswordHash
-
setBcryptPasswordHash
-
setSha256PasswordHash
-
setSha512PasswordHash
-
setSha1PasswordHash
-
setCustomProfileProperty
-
buildAndCreate
- Throws:
ApiException
-