Class AfdPurgeParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.AfdPurgeParameters
-
public final class AfdPurgeParameters extends Object
Parameters required for content purge.
-
-
Constructor Summary
Constructors Constructor Description AfdPurgeParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>contentPaths()Get the contentPaths property: The path to the content to be purged.List<String>domains()Get the domains property: List of domains.voidvalidate()Validates the instance.AfdPurgeParameterswithContentPaths(List<String> contentPaths)Set the contentPaths property: The path to the content to be purged.AfdPurgeParameterswithDomains(List<String> domains)Set the domains property: List of domains.
-
-
-
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.
-
-