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'.
-
getVersion
int getVersion()
Gets the value of the 'version' field.
-
setVersion
User.Builder setVersion(int value)
Sets the value of the 'version' field.
- Parameters:
value
- The value of 'version'.
-
getLastChangeDetails
ChangeDetails getLastChangeDetails()
Gets the value of the 'lastChangeDetails' field.
-
setLastChangeDetails
User.Builder setLastChangeDetails(ChangeDetails value)
Sets the value of the 'lastChangeDetails' field.
- Parameters:
value
- The value of 'lastChangeDetails'.
-
getLastChangeDetailsBuilder
ChangeDetails.Builder getLastChangeDetailsBuilder()
Gets the Builder instance for the 'lastChangeDetails' field and creates one if it doesn't exist yet.
-
setLastChangeDetailsBuilder
User.Builder setLastChangeDetailsBuilder(ChangeDetails.Builder value)
Sets the Builder instance for the 'lastChangeDetails' field
- Parameters:
value
- The builder instance that must be set.
-
getLoginName
String getLoginName()
Gets the value of the 'loginName' field.
-
setLoginName
User.Builder setLoginName(String value)
Sets the value of the 'loginName' field.
- Parameters:
value
- The value of 'loginName'.
-
getFullName
String getFullName()
Gets the value of the 'fullName' field.
-
setFullName
User.Builder setFullName(String value)
Sets the value of the 'fullName' field.
- Parameters:
value
- The value of 'fullName'.
-
getEnabled
boolean getEnabled()
Gets the value of the 'enabled' field.
-
setEnabled
User.Builder setEnabled(boolean value)
Sets the value of the 'enabled' field.
- Parameters:
value
- The value of 'enabled'.
-
getHashedPassword
String getHashedPassword()
Gets the value of the 'hashedPassword' field.
-
setHashedPassword
User.Builder setHashedPassword(String value)
Sets the value of the 'hashedPassword' field.
- Parameters:
value
- The value of 'hashedPassword'.
-
getSaltValue
String getSaltValue()
Gets the value of the 'saltValue' field.
-
setSaltValue
User.Builder setSaltValue(String value)
Sets the value of the 'saltValue' field.
- Parameters:
value
- The value of 'saltValue'.
-
getPasswordExpiry
Instant getPasswordExpiry()
Gets the value of the 'passwordExpiry' field. Optional time ([Instant]) in milliseconds when the password expires.
-
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'.
-
getSsoAuth
boolean getSsoAuth()
Gets the value of the 'ssoAuth' field.
-
setSsoAuth
User.Builder setSsoAuth(boolean value)
Sets the value of the 'ssoAuth' field.
- Parameters:
value
- The value of 'ssoAuth'.
-
getParentGroupId
String getParentGroupId()
Gets the value of the 'parentGroupId' field. Optional parent group associated with this User.
-
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'.
-
getProperties
List<Property> getProperties()
Gets the value of the 'properties' field. List of user properties.
-
setProperties
User.Builder setProperties(List<Property> value)
Sets the value of the 'properties' field. List of user properties.
- Parameters:
value
- The value of 'properties'.
-
getRoleAssociations
List<RoleAssociation> getRoleAssociations()
Gets the value of the 'roleAssociations' field. List of roles associated with this User.
-
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'.
-
hasId
boolean hasId()
Checks whether the 'id' field has been set.
-
clearId
User.Builder clearId()
Clears the value of the 'id' field.
-
hasVersion
boolean hasVersion()
Checks whether the 'version' field has been set.
-
clearVersion
User.Builder clearVersion()
Clears the value of the 'version' field.
-
hasLastChangeDetails
boolean hasLastChangeDetails()
Checks whether the 'lastChangeDetails' field has been set.
-
hasLastChangeDetailsBuilder
boolean hasLastChangeDetailsBuilder()
Checks whether the 'lastChangeDetails' field has an active Builder instance
-
clearLastChangeDetails
User.Builder clearLastChangeDetails()
Clears the value of the 'lastChangeDetails' field.
-
hasLoginName
boolean hasLoginName()
Checks whether the 'loginName' field has been set.
-
clearLoginName
User.Builder clearLoginName()
Clears the value of the 'loginName' field.
-
hasFullName
boolean hasFullName()
Checks whether the 'fullName' field has been set.
-
clearFullName
User.Builder clearFullName()
Clears the value of the 'fullName' field.
-
hasEnabled
boolean hasEnabled()
Checks whether the 'enabled' field has been set.
-
clearEnabled
User.Builder clearEnabled()
Clears the value of the 'enabled' field.
-
hasHashedPassword
boolean hasHashedPassword()
Checks whether the 'hashedPassword' field has been set.
-
clearHashedPassword
User.Builder clearHashedPassword()
Clears the value of the 'hashedPassword' field.
-
hasSaltValue
boolean hasSaltValue()
Checks whether the 'saltValue' field has been set.
-
clearSaltValue
User.Builder clearSaltValue()
Clears the value of the 'saltValue' field.
-
hasPasswordExpiry
boolean hasPasswordExpiry()
Checks whether the 'passwordExpiry' field has been set. Optional time ([Instant]) in milliseconds when the password expires.
-
clearPasswordExpiry
User.Builder clearPasswordExpiry()
Clears the value of the 'passwordExpiry' field. Optional time ([Instant]) in milliseconds when the password expires.
-
hasSsoAuth
boolean hasSsoAuth()
Checks whether the 'ssoAuth' field has been set.
-
clearSsoAuth
User.Builder clearSsoAuth()
Clears the value of the 'ssoAuth' field.
-
hasParentGroupId
boolean hasParentGroupId()
Checks whether the 'parentGroupId' field has been set. Optional parent group associated with this User.
-
clearParentGroupId
User.Builder clearParentGroupId()
Clears the value of the 'parentGroupId' field. Optional parent group associated with this User.
-
hasProperties
boolean hasProperties()
Checks whether the 'properties' field has been set. List of user properties.
-
clearProperties
User.Builder clearProperties()
Clears the value of the 'properties' field. List of user properties.
-
hasRoleAssociations
boolean hasRoleAssociations()
Checks whether the 'roleAssociations' field has been set. List of roles associated with this User.
-
clearRoleAssociations
User.Builder clearRoleAssociations()
Clears the value of the 'roleAssociations' field. List of roles associated with this User.
-
-
-
-