Class ContentKeyPolicyPlayReadyConfiguration

java.lang.Object
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyConfiguration
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyPlayReadyConfiguration

public final class ContentKeyPolicyPlayReadyConfiguration extends ContentKeyPolicyConfiguration
Specifies a configuration for PlayReady licenses.
  • 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

      Set the licenses property: The PlayReady licenses.
      Parameters:
      licenses - the licenses value to set.
      Returns:
      the ContentKeyPolicyPlayReadyConfiguration object itself.
    • responseCustomData

      public String responseCustomData()
      Get the responseCustomData property: The custom response data.
      Returns:
      the responseCustomData value.
    • withResponseCustomData

      public ContentKeyPolicyPlayReadyConfiguration withResponseCustomData(String responseCustomData)
      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 class ContentKeyPolicyConfiguration
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.