Class AfdPurgeParameters


  • public final class AfdPurgeParameters
    extends Object
    Parameters required for content purge.
    • Constructor Detail

      • AfdPurgeParameters

        public AfdPurgeParameters()
    • Method Detail

      • contentPaths

        public List<String> contentPaths()
        Get the contentPaths property: The path to the content to be purged. Can describe a file path or a wild card directory.
        Returns:
        the contentPaths value.
      • withContentPaths

        public AfdPurgeParameters withContentPaths​(List<String> contentPaths)
        Set the contentPaths property: The path to the content to be purged. Can describe a file path or a wild card directory.
        Parameters:
        contentPaths - the contentPaths value to set.
        Returns:
        the AfdPurgeParameters object itself.
      • domains

        public List<String> domains()
        Get the domains property: List of domains.
        Returns:
        the domains value.
      • withDomains

        public AfdPurgeParameters withDomains​(List<String> domains)
        Set the domains property: List of domains.
        Parameters:
        domains - the domains value to set.
        Returns:
        the AfdPurgeParameters object itself.
      • validate

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