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.

    • Constructor Detail

    • Method Detail

      • getId

         String getId()

        Gets the value of the 'id' field.

        Returns:

        The value.

      • 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.

      • 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.

      • 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.

      • hasId

         boolean hasId()

        Checks whether the 'id' field has been set.

        Returns:

        True if the 'id' field has been set, false otherwise.

      • hasVersion

         boolean hasVersion()

        Checks whether the 'version' field has been set.

        Returns:

        True if the 'version' field has been set, false otherwise.

      • 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

      • hasLoginName

         boolean hasLoginName()

        Checks whether the 'loginName' field has been set.

        Returns:

        True if the 'loginName' field has been set, false otherwise.

      • hasFullName

         boolean hasFullName()

        Checks whether the 'fullName' field has been set.

        Returns:

        True if the 'fullName' field has been set, false otherwise.

      • hasEnabled

         boolean hasEnabled()

        Checks whether the 'enabled' field has been set.

        Returns:

        True if the 'enabled' field has been set, false otherwise.

      • hasHashedPassword

         boolean hasHashedPassword()

        Checks whether the 'hashedPassword' field has been set.

        Returns:

        True if the 'hashedPassword' field has been set, false otherwise.

      • hasSaltValue

         boolean hasSaltValue()

        Checks whether the 'saltValue' field has been set.

        Returns:

        True if the 'saltValue' field has been set, false otherwise.

      • 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.

      • 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.