Class ClassicAdministratorProperties


  • public final class ClassicAdministratorProperties
    extends Object
    Classic Administrator properties.
    • Constructor Detail

      • ClassicAdministratorProperties

        public ClassicAdministratorProperties()
    • Method Detail

      • emailAddress

        public String emailAddress()
        Get the emailAddress property: The email address of the administrator.
        Returns:
        the emailAddress value.
      • withEmailAddress

        public ClassicAdministratorProperties withEmailAddress​(String emailAddress)
        Set the emailAddress property: The email address of the administrator.
        Parameters:
        emailAddress - the emailAddress value to set.
        Returns:
        the ClassicAdministratorProperties object itself.
      • role

        public String role()
        Get the role property: The role of the administrator.
        Returns:
        the role value.
      • withRole

        public ClassicAdministratorProperties withRole​(String role)
        Set the role property: The role of the administrator.
        Parameters:
        role - the role value to set.
        Returns:
        the ClassicAdministratorProperties object itself.
      • validate

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