Class User.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class User.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for User instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
id
public int
version
public ChangeDetails
lastChangeDetails
public ChangeDetails.Builder
lastChangeDetailsBuilder
public String
loginName
public String
fullName
public boolean
enabled
public String
hashedPassword
public String
saltValue
public Instant
passwordExpiry
public boolean
ssoAuth
public String
parentGroupId
public List<Property>
properties
public List<RoleAssociation>
roleAssociations
-
Method Summary
Modifier and Type Method Description String
getId()
Gets the value of the 'id' field. User.Builder
setId(String value)
Sets the value of the 'id' field. int
getVersion()
Gets the value of the 'version' field. User.Builder
setVersion(int value)
Sets the value of the 'version' field. ChangeDetails
getLastChangeDetails()
Gets the value of the 'lastChangeDetails' field. User.Builder
setLastChangeDetails(ChangeDetails value)
Sets the value of the 'lastChangeDetails' field. ChangeDetails.Builder
getLastChangeDetailsBuilder()
Gets the Builder instance for the 'lastChangeDetails' field and creates one if it doesn't exist yet. User.Builder
setLastChangeDetailsBuilder(ChangeDetails.Builder value)
Sets the Builder instance for the 'lastChangeDetails' field String
getLoginName()
Gets the value of the 'loginName' field. User.Builder
setLoginName(String value)
Sets the value of the 'loginName' field. String
getFullName()
Gets the value of the 'fullName' field. User.Builder
setFullName(String value)
Sets the value of the 'fullName' field. boolean
getEnabled()
Gets the value of the 'enabled' field. User.Builder
setEnabled(boolean value)
Sets the value of the 'enabled' field. String
getHashedPassword()
Gets the value of the 'hashedPassword' field. User.Builder
setHashedPassword(String value)
Sets the value of the 'hashedPassword' field. String
getSaltValue()
Gets the value of the 'saltValue' field. User.Builder
setSaltValue(String value)
Sets the value of the 'saltValue' field. Instant
getPasswordExpiry()
Gets the value of the 'passwordExpiry' field. User.Builder
setPasswordExpiry(Instant value)
Sets the value of the 'passwordExpiry' field. boolean
getSsoAuth()
Gets the value of the 'ssoAuth' field. User.Builder
setSsoAuth(boolean value)
Sets the value of the 'ssoAuth' field. String
getParentGroupId()
Gets the value of the 'parentGroupId' field. User.Builder
setParentGroupId(String value)
Sets the value of the 'parentGroupId' field. List<Property>
getProperties()
Gets the value of the 'properties' field. User.Builder
setProperties(List<Property> value)
Sets the value of the 'properties' field. List<RoleAssociation>
getRoleAssociations()
Gets the value of the 'roleAssociations' field. User.Builder
setRoleAssociations(List<RoleAssociation> value)
Sets the value of the 'roleAssociations' field. boolean
hasId()
Checks whether the 'id' field has been set. User.Builder
clearId()
Clears the value of the 'id' field. boolean
hasVersion()
Checks whether the 'version' field has been set. User.Builder
clearVersion()
Clears the value of the 'version' field. boolean
hasLastChangeDetails()
Checks whether the 'lastChangeDetails' field has been set. boolean
hasLastChangeDetailsBuilder()
Checks whether the 'lastChangeDetails' field has an active Builder instance User.Builder
clearLastChangeDetails()
Clears the value of the 'lastChangeDetails' field. boolean
hasLoginName()
Checks whether the 'loginName' field has been set. User.Builder
clearLoginName()
Clears the value of the 'loginName' field. boolean
hasFullName()
Checks whether the 'fullName' field has been set. User.Builder
clearFullName()
Clears the value of the 'fullName' field. boolean
hasEnabled()
Checks whether the 'enabled' field has been set. User.Builder
clearEnabled()
Clears the value of the 'enabled' field. boolean
hasHashedPassword()
Checks whether the 'hashedPassword' field has been set. User.Builder
clearHashedPassword()
Clears the value of the 'hashedPassword' field. boolean
hasSaltValue()
Checks whether the 'saltValue' field has been set. User.Builder
clearSaltValue()
Clears the value of the 'saltValue' field. boolean
hasPasswordExpiry()
Checks whether the 'passwordExpiry' field has been set. User.Builder
clearPasswordExpiry()
Clears the value of the 'passwordExpiry' field. boolean
hasSsoAuth()
Checks whether the 'ssoAuth' field has been set. User.Builder
clearSsoAuth()
Clears the value of the 'ssoAuth' field. boolean
hasParentGroupId()
Checks whether the 'parentGroupId' field has been set. User.Builder
clearParentGroupId()
Clears the value of the 'parentGroupId' field. boolean
hasProperties()
Checks whether the 'properties' field has been set. User.Builder
clearProperties()
Clears the value of the 'properties' field. boolean
hasRoleAssociations()
Checks whether the 'roleAssociations' field has been set. User.Builder
clearRoleAssociations()
Clears the value of the 'roleAssociations' field. User
build()
-
-
Method Detail
-
setId
User.Builder setId(String value)
Sets the value of the 'id' field.
- Parameters:
value
- The value of 'id'.- Returns:
This builder.
-
getVersion
int getVersion()
Gets the value of the 'version' field.
- Returns:
The value.
-
setVersion
User.Builder setVersion(int value)
Sets the value of the 'version' field.
- Parameters:
value
- The value of 'version'.- Returns:
This builder.
-
getLastChangeDetails
ChangeDetails getLastChangeDetails()
Gets the value of the 'lastChangeDetails' field.
- Returns:
The value.
-
setLastChangeDetails
User.Builder setLastChangeDetails(ChangeDetails value)
Sets the value of the 'lastChangeDetails' field.
- Parameters:
value
- The value of 'lastChangeDetails'.- Returns:
This builder.
-
getLastChangeDetailsBuilder
ChangeDetails.Builder getLastChangeDetailsBuilder()
Gets the Builder instance for the 'lastChangeDetails' field and creates one if it doesn't exist yet.
- Returns:
This builder.
-
setLastChangeDetailsBuilder
User.Builder setLastChangeDetailsBuilder(ChangeDetails.Builder value)
Sets the Builder instance for the 'lastChangeDetails' field
- Parameters:
value
- The builder instance that must be set.- Returns:
This builder.
-
getLoginName
String getLoginName()
Gets the value of the 'loginName' field.
- Returns:
The value.
-
setLoginName
User.Builder setLoginName(String value)
Sets the value of the 'loginName' field.
- Parameters:
value
- The value of 'loginName'.- Returns:
This builder.
-
getFullName
String getFullName()
Gets the value of the 'fullName' field.
- Returns:
The value.
-
setFullName
User.Builder setFullName(String value)
Sets the value of the 'fullName' field.
- Parameters:
value
- The value of 'fullName'.- Returns:
This builder.
-
getEnabled
boolean getEnabled()
Gets the value of the 'enabled' field.
- Returns:
The value.
-
setEnabled
User.Builder setEnabled(boolean value)
Sets the value of the 'enabled' field.
- Parameters:
value
- The value of 'enabled'.- Returns:
This builder.
-
getHashedPassword
String getHashedPassword()
Gets the value of the 'hashedPassword' field.
- Returns:
The value.
-
setHashedPassword
User.Builder setHashedPassword(String value)
Sets the value of the 'hashedPassword' field.
- Parameters:
value
- The value of 'hashedPassword'.- Returns:
This builder.
-
getSaltValue
String getSaltValue()
Gets the value of the 'saltValue' field.
- Returns:
The value.
-
setSaltValue
User.Builder setSaltValue(String value)
Sets the value of the 'saltValue' field.
- Parameters:
value
- The value of 'saltValue'.- Returns:
This builder.
-
getPasswordExpiry
Instant getPasswordExpiry()
Gets the value of the 'passwordExpiry' field. Optional time ([Instant]) in milliseconds when the password expires.
- Returns:
The value.
-
setPasswordExpiry
User.Builder setPasswordExpiry(Instant value)
Sets the value of the 'passwordExpiry' field. Optional time ([Instant]) in milliseconds when the password expires.
- Parameters:
value
- The value of 'passwordExpiry'.- Returns:
This builder.
-
getSsoAuth
boolean getSsoAuth()
Gets the value of the 'ssoAuth' field.
- Returns:
The value.
-
setSsoAuth
User.Builder setSsoAuth(boolean value)
Sets the value of the 'ssoAuth' field.
- Parameters:
value
- The value of 'ssoAuth'.- Returns:
This builder.
-
getParentGroupId
String getParentGroupId()
Gets the value of the 'parentGroupId' field. Optional parent group associated with this User.
- Returns:
The value.
-
setParentGroupId
User.Builder setParentGroupId(String value)
Sets the value of the 'parentGroupId' field. Optional parent group associated with this User.
- Parameters:
value
- The value of 'parentGroupId'.- Returns:
This builder.
-
getProperties
List<Property> getProperties()
Gets the value of the 'properties' field. List of user properties.
- Returns:
The value.
-
setProperties
User.Builder setProperties(List<Property> value)
Sets the value of the 'properties' field. List of user properties.
- Parameters:
value
- The value of 'properties'.- Returns:
This builder.
-
getRoleAssociations
List<RoleAssociation> getRoleAssociations()
Gets the value of the 'roleAssociations' field. List of roles associated with this User.
- Returns:
The value.
-
setRoleAssociations
User.Builder setRoleAssociations(List<RoleAssociation> value)
Sets the value of the 'roleAssociations' field. List of roles associated with this User.
- Parameters:
value
- The value of 'roleAssociations'.- Returns:
This builder.
-
hasId
boolean hasId()
Checks whether the 'id' field has been set.
- Returns:
True if the 'id' field has been set, false otherwise.
-
clearId
User.Builder clearId()
Clears the value of the 'id' field.
- Returns:
This builder.
-
hasVersion
boolean hasVersion()
Checks whether the 'version' field has been set.
- Returns:
True if the 'version' field has been set, false otherwise.
-
clearVersion
User.Builder clearVersion()
Clears the value of the 'version' field.
- Returns:
This builder.
-
hasLastChangeDetails
boolean hasLastChangeDetails()
Checks whether the 'lastChangeDetails' field has been set.
- Returns:
True if the 'lastChangeDetails' field has been set, false otherwise.
-
hasLastChangeDetailsBuilder
boolean hasLastChangeDetailsBuilder()
Checks whether the 'lastChangeDetails' field has an active Builder instance
- Returns:
True if the 'lastChangeDetails' field has an active Builder instance
-
clearLastChangeDetails
User.Builder clearLastChangeDetails()
Clears the value of the 'lastChangeDetails' field.
- Returns:
This builder.
-
hasLoginName
boolean hasLoginName()
Checks whether the 'loginName' field has been set.
- Returns:
True if the 'loginName' field has been set, false otherwise.
-
clearLoginName
User.Builder clearLoginName()
Clears the value of the 'loginName' field.
- Returns:
This builder.
-
hasFullName
boolean hasFullName()
Checks whether the 'fullName' field has been set.
- Returns:
True if the 'fullName' field has been set, false otherwise.
-
clearFullName
User.Builder clearFullName()
Clears the value of the 'fullName' field.
- Returns:
This builder.
-
hasEnabled
boolean hasEnabled()
Checks whether the 'enabled' field has been set.
- Returns:
True if the 'enabled' field has been set, false otherwise.
-
clearEnabled
User.Builder clearEnabled()
Clears the value of the 'enabled' field.
- Returns:
This builder.
-
hasHashedPassword
boolean hasHashedPassword()
Checks whether the 'hashedPassword' field has been set.
- Returns:
True if the 'hashedPassword' field has been set, false otherwise.
-
clearHashedPassword
User.Builder clearHashedPassword()
Clears the value of the 'hashedPassword' field.
- Returns:
This builder.
-
hasSaltValue
boolean hasSaltValue()
Checks whether the 'saltValue' field has been set.
- Returns:
True if the 'saltValue' field has been set, false otherwise.
-
clearSaltValue
User.Builder clearSaltValue()
Clears the value of the 'saltValue' field.
- Returns:
This builder.
-
hasPasswordExpiry
boolean hasPasswordExpiry()
Checks whether the 'passwordExpiry' field has been set. Optional time ([Instant]) in milliseconds when the password expires.
- Returns:
True if the 'passwordExpiry' field has been set, false otherwise.
-
clearPasswordExpiry
User.Builder clearPasswordExpiry()
Clears the value of the 'passwordExpiry' field. Optional time ([Instant]) in milliseconds when the password expires.
- Returns:
This builder.
-
hasSsoAuth
boolean hasSsoAuth()
Checks whether the 'ssoAuth' field has been set.
- Returns:
True if the 'ssoAuth' field has been set, false otherwise.
-
clearSsoAuth
User.Builder clearSsoAuth()
Clears the value of the 'ssoAuth' field.
- Returns:
This builder.
-
hasParentGroupId
boolean hasParentGroupId()
Checks whether the 'parentGroupId' field has been set. Optional parent group associated with this User.
- Returns:
True if the 'parentGroupId' field has been set, false otherwise.
-
clearParentGroupId
User.Builder clearParentGroupId()
Clears the value of the 'parentGroupId' field. Optional parent group associated with this User.
- Returns:
This builder.
-
hasProperties
boolean hasProperties()
Checks whether the 'properties' field has been set. List of user properties.
- Returns:
True if the 'properties' field has been set, false otherwise.
-
clearProperties
User.Builder clearProperties()
Clears the value of the 'properties' field. List of user properties.
- Returns:
This builder.
-
hasRoleAssociations
boolean hasRoleAssociations()
Checks whether the 'roleAssociations' field has been set. List of roles associated with this User.
- Returns:
True if the 'roleAssociations' field has been set, false otherwise.
-
clearRoleAssociations
User.Builder clearRoleAssociations()
Clears the value of the 'roleAssociations' field. List of roles associated with this User.
- Returns:
This builder.
-
-
-
-