Class ContentKeyPolicyRestriction

java.lang.Object
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyRestriction
Direct Known Subclasses:
ContentKeyPolicyOpenRestriction, ContentKeyPolicyTokenRestriction, ContentKeyPolicyUnknownRestriction

public class ContentKeyPolicyRestriction extends Object
Base class for Content Key Policy restrictions. A derived class must be used to create a restriction.
  • Constructor Details

    • ContentKeyPolicyRestriction

      public ContentKeyPolicyRestriction()
  • Method Details

    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.