Class MetadataSupport


  • public final class MetadataSupport
    extends Object
    Support information for the content item.
    • Constructor Detail

      • MetadataSupport

        public MetadataSupport()
    • Method Detail

      • tier

        public SupportTier tier()
        Get the tier property: Type of support for content item.
        Returns:
        the tier value.
      • withTier

        public MetadataSupport withTier​(SupportTier tier)
        Set the tier property: Type of support for content item.
        Parameters:
        tier - the tier value to set.
        Returns:
        the MetadataSupport object itself.
      • name

        public String name()
        Get the name property: Name of the support contact. Company or person.
        Returns:
        the name value.
      • withName

        public MetadataSupport withName​(String name)
        Set the name property: Name of the support contact. Company or person.
        Parameters:
        name - the name value to set.
        Returns:
        the MetadataSupport object itself.
      • email

        public String email()
        Get the email property: Email of support contact.
        Returns:
        the email value.
      • withEmail

        public MetadataSupport withEmail​(String email)
        Set the email property: Email of support contact.
        Parameters:
        email - the email value to set.
        Returns:
        the MetadataSupport object itself.
      • link

        public String link()
        Get the link property: Link for support help, like to support page to open a ticket etc.
        Returns:
        the link value.
      • withLink

        public MetadataSupport withLink​(String link)
        Set the link property: Link for support help, like to support page to open a ticket etc.
        Parameters:
        link - the link value to set.
        Returns:
        the MetadataSupport object itself.
      • validate

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