Class AfdPurgeParameters
java.lang.Object
com.azure.resourcemanager.cdn.models.AfdPurgeParameters
Parameters required for content purge.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the contentPaths property: The path to the content to be purged.domains()Get the domains property: List of domains.voidvalidate()Validates the instance.withContentPaths(List<String> contentPaths) Set the contentPaths property: The path to the content to be purged.withDomains(List<String> domains) Set the domains property: List of domains.
-
Constructor Details
-
AfdPurgeParameters
public AfdPurgeParameters()
-
-
Method Details
-
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
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
Get the domains property: List of domains.- Returns:
- the domains value.
-
withDomains
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.
-