Class User

  • All Implemented Interfaces:
    java.io.Externalizable , java.io.Serializable , java.lang.Comparable , org.apache.avro.generic.GenericContainer , org.apache.avro.generic.GenericRecord , org.apache.avro.generic.IndexedRecord , org.apache.avro.specific.SpecificRecord

    
    public class User
    extends SpecificRecordBase implements SpecificRecord
                        
    • Constructor Detail

      • User

        User()
        Default constructor.
      • User

        User(String id, Integer version, ChangeDetails lastChangeDetails, String loginName, String fullName, Boolean enabled, String hashedPassword, String saltValue, Instant passwordExpiry, Boolean ssoAuth, String parentGroupId, List<Property> properties, List<RoleAssociation> roleAssociations)
        All-args constructor.
        Parameters:
        id - The new value for id
        version - The new value for version
        lastChangeDetails - The new value for lastChangeDetails
        loginName - The new value for loginName
        fullName - The new value for fullName
        enabled - The new value for enabled
        hashedPassword - The new value for hashedPassword
        saltValue - The new value for saltValue
        passwordExpiry - Optional time ([Instant]) in milliseconds when the password expires.
        ssoAuth - The new value for ssoAuth
        parentGroupId - Optional parent group associated with this User.
        properties - List of user properties.
        roleAssociations - List of roles associated with this User.
    • Method Detail

      • getId

         String getId()

        Gets the value of the 'id' field.

      • setId

         void setId(String value)

        Sets the value of the 'id' field.

        Parameters:
        value - the value to set.
      • getVersion

         int getVersion()

        Gets the value of the 'version' field.

      • setVersion

         void setVersion(int value)

        Sets the value of the 'version' field.

        Parameters:
        value - the value to set.
      • setLoginName

         void setLoginName(String value)

        Sets the value of the 'loginName' field.

        Parameters:
        value - the value to set.
      • setFullName

         void setFullName(String value)

        Sets the value of the 'fullName' field.

        Parameters:
        value - the value to set.
      • getEnabled

         boolean getEnabled()

        Gets the value of the 'enabled' field.

      • setEnabled

         void setEnabled(boolean value)

        Sets the value of the 'enabled' field.

        Parameters:
        value - the value to set.
      • setHashedPassword

         void setHashedPassword(String value)

        Sets the value of the 'hashedPassword' field.

        Parameters:
        value - the value to set.
      • setSaltValue

         void setSaltValue(String value)

        Sets the value of the 'saltValue' field.

        Parameters:
        value - the value to set.
      • setPasswordExpiry

         void setPasswordExpiry(Instant value)

        Sets the value of the 'passwordExpiry' field. Optional time ([Instant]) in milliseconds when the password expires.

        Parameters:
        value - the value to set.
      • getSsoAuth

         boolean getSsoAuth()

        Gets the value of the 'ssoAuth' field.

      • setSsoAuth

         void setSsoAuth(boolean value)

        Sets the value of the 'ssoAuth' field.

        Parameters:
        value - the value to set.
      • setParentGroupId

         void setParentGroupId(String value)

        Sets the value of the 'parentGroupId' field. Optional parent group associated with this User.

        Parameters:
        value - the value to set.
      • setProperties

         void setProperties(List<Property> value)

        Sets the value of the 'properties' field. List of user properties.

        Parameters:
        value - the value to set.
      • setRoleAssociations

         void setRoleAssociations(List<RoleAssociation> value)

        Sets the value of the 'roleAssociations' field. List of roles associated with this User.

        Parameters:
        value - the value to set.
      • getEncoder

         static BinaryMessageEncoder<User> getEncoder()

        Return the BinaryMessageEncoder instance used by this class.

      • getDecoder

         static BinaryMessageDecoder<User> getDecoder()

        Return the BinaryMessageDecoder instance used by this class.

      • createDecoder

         static BinaryMessageDecoder<User> createDecoder(SchemaStore resolver)

        Create a new BinaryMessageDecoder instance for this class that uses the specified SchemaStore.

        Parameters:
        resolver - a SchemaStore used to find schemas by fingerprint
      • fromByteBuffer

         static User fromByteBuffer(ByteBuffer b)

        Deserializes a User from a ByteBuffer.

        Parameters:
        b - a byte buffer holding serialized data for an instance of this class
      • newBuilder

         static User.Builder newBuilder(User.Builder other)

        Creates a new User RecordBuilder by copying an existing Builder.

        Parameters:
        other - The existing builder to copy.
      • newBuilder

         static User.Builder newBuilder(User other)

        Creates a new User RecordBuilder by copying an existing User instance.

        Parameters:
        other - The existing instance to copy.