Class ContentKeyPolicyCollection
java.lang.Object
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyCollection
A collection of ContentKeyPolicy items.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ContentKeyPolicyCollection class. -
Method Summary
Modifier and TypeMethodDescriptionGet the odataNextLink property: A link to the next page of the collection (when the collection contains too many results to return in one response).void
validate()
Validates the instance.value()
Get the value property: A collection of ContentKeyPolicy items.withOdataNextLink
(String odataNextLink) Set the odataNextLink property: A link to the next page of the collection (when the collection contains too many results to return in one response).withValue
(List<ContentKeyPolicyInner> value) Set the value property: A collection of ContentKeyPolicy items.
-
Constructor Details
-
ContentKeyPolicyCollection
public ContentKeyPolicyCollection()Creates an instance of ContentKeyPolicyCollection class.
-
-
Method Details
-
value
Get the value property: A collection of ContentKeyPolicy items.- Returns:
- the value value.
-
withValue
Set the value property: A collection of ContentKeyPolicy items.- Parameters:
value
- the value value to set.- Returns:
- the ContentKeyPolicyCollection object itself.
-
odataNextLink
Get the odataNextLink property: A link to the next page of the collection (when the collection contains too many results to return in one response).- Returns:
- the odataNextLink value.
-
withOdataNextLink
Set the odataNextLink property: A link to the next page of the collection (when the collection contains too many results to return in one response).- Parameters:
odataNextLink
- the odataNextLink value to set.- Returns:
- the ContentKeyPolicyCollection object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-