Class UserInfo


  • public final class UserInfo
    extends Object
    User information that made some action.
    • Constructor Detail

      • UserInfo

        public UserInfo()
    • Method Detail

      • email

        public String email()
        Get the email property: The email of the user.
        Returns:
        the email value.
      • name

        public String name()
        Get the name property: The name of the user.
        Returns:
        the name value.
      • objectId

        public UUID objectId()
        Get the objectId property: The object id of the user.
        Returns:
        the objectId value.
      • withObjectId

        public UserInfo withObjectId​(UUID objectId)
        Set the objectId property: The object id of the user.
        Parameters:
        objectId - the objectId value to set.
        Returns:
        the UserInfo object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.