LoadParameters Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. LoadParameters
- com.
Implements
public final class LoadParameters
implements JsonSerializable<LoadParameters>
Parameters required for content load.
Constructor Summary
| Constructor | Description |
|---|---|
| LoadParameters() |
Creates an instance of Load |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
contentPaths()
Get the content |
|
static
Load |
fromJson(JsonReader jsonReader)
Reads an instance of Load |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Load |
withContentPaths(List<String> contentPaths)
Set the content |
Methods inherited from java.lang.Object
Constructor Details
LoadParameters
public LoadParameters()
Creates an instance of LoadParameters class.
Method Details
contentPaths
public List<String> contentPaths()
Get the contentPaths property: The path to the content to be loaded. Path should be a relative file URL of the origin.
Returns:
fromJson
public static LoadParameters fromJson(JsonReader jsonReader)
Reads an instance of LoadParameters from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withContentPaths
public LoadParameters withContentPaths(List<String> contentPaths)
Set the contentPaths property: The path to the content to be loaded. Path should be a relative file URL of the origin.
Parameters:
Returns: