Class ContentKeyPolicyRestriction
java.lang.Object
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyRestriction
- Direct Known Subclasses:
ContentKeyPolicyOpenRestriction
,ContentKeyPolicyTokenRestriction
,ContentKeyPolicyUnknownRestriction
Base class for Content Key Policy restrictions. A derived class must be used to create a restriction.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ContentKeyPolicyRestriction class. -
Method Summary
-
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.
-