Class ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
java.lang.Object
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
Configures the Explicit Analog Television Output Restriction control bits. For further details see the PlayReady
Compliance Rules.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the bestEffort property: Indicates whether this restriction is enforced on a Best Effort basis.int
Get the configurationData property: Configures the restriction control bits.void
validate()
Validates the instance.withBestEffort
(boolean bestEffort) Set the bestEffort property: Indicates whether this restriction is enforced on a Best Effort basis.withConfigurationData
(int configurationData) Set the configurationData property: Configures the restriction control bits.
-
Constructor Details
-
ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
public ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction()Creates an instance of ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction class.
-
-
Method Details
-
bestEffort
public boolean bestEffort()Get the bestEffort property: Indicates whether this restriction is enforced on a Best Effort basis.- Returns:
- the bestEffort value.
-
withBestEffort
public ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction withBestEffort(boolean bestEffort) Set the bestEffort property: Indicates whether this restriction is enforced on a Best Effort basis.- Parameters:
bestEffort
- the bestEffort value to set.- Returns:
- the ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction object itself.
-
configurationData
public int configurationData()Get the configurationData property: Configures the restriction control bits. Must be between 0 and 3 inclusive.- Returns:
- the configurationData value.
-
withConfigurationData
public ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction withConfigurationData(int configurationData) Set the configurationData property: Configures the restriction control bits. Must be between 0 and 3 inclusive.- Parameters:
configurationData
- the configurationData value to set.- Returns:
- the ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-