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()
      Creates an instance of ContentKeyPolicyRestriction class.
  • Method Details

    • validate

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