LoadParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.LoadParameters

Implements

public final class LoadParameters
implements JsonSerializable<LoadParameters>

Parameters required for content load.

Constructor Summary

Constructor Description
LoadParameters()

Creates an instance of LoadParameters class.

Method Summary

Modifier and Type Method and Description
List<String> contentPaths()

Get the contentPaths property: The path to the content to be loaded.

static LoadParameters fromJson(JsonReader jsonReader)

Reads an instance of LoadParameters from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LoadParameters withContentPaths(List<String> contentPaths)

Set the contentPaths property: The path to the content to be loaded.

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:

the contentPaths value.

fromJson

public static LoadParameters fromJson(JsonReader jsonReader)

Reads an instance of LoadParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LoadParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

contentPaths - the contentPaths value to set.

Returns:

the LoadParameters object itself.

Applies to