Class ContentKeyPolicyPlayReadyConfiguration
java.lang.Object
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyConfiguration
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyPlayReadyConfiguration
Specifies a configuration for PlayReady licenses.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ContentKeyPolicyPlayReadyConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionlicenses()
Get the licenses property: The PlayReady licenses.Get the responseCustomData property: The custom response data.void
validate()
Validates the instance.withLicenses
(List<ContentKeyPolicyPlayReadyLicense> licenses) Set the licenses property: The PlayReady licenses.withResponseCustomData
(String responseCustomData) Set the responseCustomData property: The custom response data.
-
Constructor Details
-
ContentKeyPolicyPlayReadyConfiguration
public ContentKeyPolicyPlayReadyConfiguration()Creates an instance of ContentKeyPolicyPlayReadyConfiguration class.
-
-
Method Details
-
licenses
Get the licenses property: The PlayReady licenses.- Returns:
- the licenses value.
-
withLicenses
public ContentKeyPolicyPlayReadyConfiguration withLicenses(List<ContentKeyPolicyPlayReadyLicense> licenses) Set the licenses property: The PlayReady licenses.- Parameters:
licenses
- the licenses value to set.- Returns:
- the ContentKeyPolicyPlayReadyConfiguration object itself.
-
responseCustomData
Get the responseCustomData property: The custom response data.- Returns:
- the responseCustomData value.
-
withResponseCustomData
Set the responseCustomData property: The custom response data.- Parameters:
responseCustomData
- the responseCustomData value to set.- Returns:
- the ContentKeyPolicyPlayReadyConfiguration object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classContentKeyPolicyConfiguration
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-