Class SupportInfo


  • public final class SupportInfo
    extends Object
    Support contact information and instructions.
    • Constructor Detail

      • SupportInfo

        public SupportInfo()
    • Method Detail

      • url

        public String url()
        Get the url property: Support web address.
        Returns:
        the url value.
      • withUrl

        public SupportInfo withUrl​(String url)
        Set the url property: Support web address.
        Parameters:
        url - the url value to set.
        Returns:
        the SupportInfo object itself.
      • email

        public String email()
        Get the email property: Support contact email address.
        Returns:
        the email value.
      • withEmail

        public SupportInfo withEmail​(String email)
        Set the email property: Support contact email address.
        Parameters:
        email - the email value to set.
        Returns:
        the SupportInfo object itself.
      • phone

        public String phone()
        Get the phone property: Support contact phone number.
        Returns:
        the phone value.
      • withPhone

        public SupportInfo withPhone​(String phone)
        Set the phone property: Support contact phone number.
        Parameters:
        phone - the phone value to set.
        Returns:
        the SupportInfo object itself.
      • instructions

        public String instructions()
        Get the instructions property: Support instructions.
        Returns:
        the instructions value.
      • withInstructions

        public SupportInfo withInstructions​(String instructions)
        Set the instructions property: Support instructions.
        Parameters:
        instructions - the instructions value to set.
        Returns:
        the SupportInfo object itself.
      • validate

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