Class PurgeParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.PurgeParameters
-
public final class PurgeParameters extends Object
Parameters required for content purge.
-
-
Constructor Summary
Constructors Constructor Description PurgeParameters()
-
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.voidvalidate()Validates the instance.PurgeParameterswithContentPaths(List<String> contentPaths)Set the contentPaths property: The path to the content to be purged.
-
-
-
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 PurgeParameters 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 PurgeParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-