Class ContentKeyPolicyPlayReadyPlayRight
java.lang.Object
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyPlayReadyPlayRight
Configures the Play Right in the PlayReady license.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ContentKeyPolicyPlayReadyPlayRight class. -
Method Summary
Modifier and TypeMethodDescriptionGet the agcAndColorStripeRestriction property: Configures Automatic Gain Control (AGC) and Color Stripe in the license.Get the allowPassingVideoContentToUnknownOutput property: Configures Unknown output handling settings of the license.Get the analogVideoOpl property: Specifies the output protection level for compressed digital audio.Get the compressedDigitalAudioOpl property: Specifies the output protection level for compressed digital audio.Get the compressedDigitalVideoOpl property: Specifies the output protection level for compressed digital video.boolean
Get the digitalVideoOnlyContentRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.Get the explicitAnalogTelevisionOutputRestriction property: Configures the Explicit Analog Television Output Restriction in the license.Get the firstPlayExpiration property: The amount of time that the license is valid after the license is first used to play content.boolean
Get the imageConstraintForAnalogComponentVideoRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.boolean
Get the imageConstraintForAnalogComputerMonitorRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.Get the scmsRestriction property: Configures the Serial Copy Management System (SCMS) in the license.Get the uncompressedDigitalAudioOpl property: Specifies the output protection level for uncompressed digital audio.Get the uncompressedDigitalVideoOpl property: Specifies the output protection level for uncompressed digital video.void
validate()
Validates the instance.withAgcAndColorStripeRestriction
(Integer agcAndColorStripeRestriction) Set the agcAndColorStripeRestriction property: Configures Automatic Gain Control (AGC) and Color Stripe in the license.withAllowPassingVideoContentToUnknownOutput
(ContentKeyPolicyPlayReadyUnknownOutputPassingOption allowPassingVideoContentToUnknownOutput) Set the allowPassingVideoContentToUnknownOutput property: Configures Unknown output handling settings of the license.withAnalogVideoOpl
(Integer analogVideoOpl) Set the analogVideoOpl property: Specifies the output protection level for compressed digital audio.withCompressedDigitalAudioOpl
(Integer compressedDigitalAudioOpl) Set the compressedDigitalAudioOpl property: Specifies the output protection level for compressed digital audio.withCompressedDigitalVideoOpl
(Integer compressedDigitalVideoOpl) Set the compressedDigitalVideoOpl property: Specifies the output protection level for compressed digital video.withDigitalVideoOnlyContentRestriction
(boolean digitalVideoOnlyContentRestriction) Set the digitalVideoOnlyContentRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.withExplicitAnalogTelevisionOutputRestriction
(ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction explicitAnalogTelevisionOutputRestriction) Set the explicitAnalogTelevisionOutputRestriction property: Configures the Explicit Analog Television Output Restriction in the license.withFirstPlayExpiration
(Duration firstPlayExpiration) Set the firstPlayExpiration property: The amount of time that the license is valid after the license is first used to play content.withImageConstraintForAnalogComponentVideoRestriction
(boolean imageConstraintForAnalogComponentVideoRestriction) Set the imageConstraintForAnalogComponentVideoRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.withImageConstraintForAnalogComputerMonitorRestriction
(boolean imageConstraintForAnalogComputerMonitorRestriction) Set the imageConstraintForAnalogComputerMonitorRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.withScmsRestriction
(Integer scmsRestriction) Set the scmsRestriction property: Configures the Serial Copy Management System (SCMS) in the license.withUncompressedDigitalAudioOpl
(Integer uncompressedDigitalAudioOpl) Set the uncompressedDigitalAudioOpl property: Specifies the output protection level for uncompressed digital audio.withUncompressedDigitalVideoOpl
(Integer uncompressedDigitalVideoOpl) Set the uncompressedDigitalVideoOpl property: Specifies the output protection level for uncompressed digital video.
-
Constructor Details
-
ContentKeyPolicyPlayReadyPlayRight
public ContentKeyPolicyPlayReadyPlayRight()Creates an instance of ContentKeyPolicyPlayReadyPlayRight class.
-
-
Method Details
-
firstPlayExpiration
Get the firstPlayExpiration property: The amount of time that the license is valid after the license is first used to play content.- Returns:
- the firstPlayExpiration value.
-
withFirstPlayExpiration
Set the firstPlayExpiration property: The amount of time that the license is valid after the license is first used to play content.- Parameters:
firstPlayExpiration
- the firstPlayExpiration value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
scmsRestriction
Get the scmsRestriction property: Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.- Returns:
- the scmsRestriction value.
-
withScmsRestriction
Set the scmsRestriction property: Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.- Parameters:
scmsRestriction
- the scmsRestriction value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
agcAndColorStripeRestriction
Get the agcAndColorStripeRestriction property: Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.- Returns:
- the agcAndColorStripeRestriction value.
-
withAgcAndColorStripeRestriction
public ContentKeyPolicyPlayReadyPlayRight withAgcAndColorStripeRestriction(Integer agcAndColorStripeRestriction) Set the agcAndColorStripeRestriction property: Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.- Parameters:
agcAndColorStripeRestriction
- the agcAndColorStripeRestriction value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
explicitAnalogTelevisionOutputRestriction
public ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction explicitAnalogTelevisionOutputRestriction()Get the explicitAnalogTelevisionOutputRestriction property: Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.- Returns:
- the explicitAnalogTelevisionOutputRestriction value.
-
withExplicitAnalogTelevisionOutputRestriction
public ContentKeyPolicyPlayReadyPlayRight withExplicitAnalogTelevisionOutputRestriction(ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction explicitAnalogTelevisionOutputRestriction) Set the explicitAnalogTelevisionOutputRestriction property: Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.- Parameters:
explicitAnalogTelevisionOutputRestriction
- the explicitAnalogTelevisionOutputRestriction value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
digitalVideoOnlyContentRestriction
public boolean digitalVideoOnlyContentRestriction()Get the digitalVideoOnlyContentRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.- Returns:
- the digitalVideoOnlyContentRestriction value.
-
withDigitalVideoOnlyContentRestriction
public ContentKeyPolicyPlayReadyPlayRight withDigitalVideoOnlyContentRestriction(boolean digitalVideoOnlyContentRestriction) Set the digitalVideoOnlyContentRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.- Parameters:
digitalVideoOnlyContentRestriction
- the digitalVideoOnlyContentRestriction value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
imageConstraintForAnalogComponentVideoRestriction
public boolean imageConstraintForAnalogComponentVideoRestriction()Get the imageConstraintForAnalogComponentVideoRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.- Returns:
- the imageConstraintForAnalogComponentVideoRestriction value.
-
withImageConstraintForAnalogComponentVideoRestriction
public ContentKeyPolicyPlayReadyPlayRight withImageConstraintForAnalogComponentVideoRestriction(boolean imageConstraintForAnalogComponentVideoRestriction) Set the imageConstraintForAnalogComponentVideoRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.- Parameters:
imageConstraintForAnalogComponentVideoRestriction
- the imageConstraintForAnalogComponentVideoRestriction value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
imageConstraintForAnalogComputerMonitorRestriction
public boolean imageConstraintForAnalogComputerMonitorRestriction()Get the imageConstraintForAnalogComputerMonitorRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.- Returns:
- the imageConstraintForAnalogComputerMonitorRestriction value.
-
withImageConstraintForAnalogComputerMonitorRestriction
public ContentKeyPolicyPlayReadyPlayRight withImageConstraintForAnalogComputerMonitorRestriction(boolean imageConstraintForAnalogComputerMonitorRestriction) Set the imageConstraintForAnalogComputerMonitorRestriction property: Enables the Image Constraint For Analog Component Video Restriction in the license.- Parameters:
imageConstraintForAnalogComputerMonitorRestriction
- the imageConstraintForAnalogComputerMonitorRestriction value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
allowPassingVideoContentToUnknownOutput
public ContentKeyPolicyPlayReadyUnknownOutputPassingOption allowPassingVideoContentToUnknownOutput()Get the allowPassingVideoContentToUnknownOutput property: Configures Unknown output handling settings of the license.- Returns:
- the allowPassingVideoContentToUnknownOutput value.
-
withAllowPassingVideoContentToUnknownOutput
public ContentKeyPolicyPlayReadyPlayRight withAllowPassingVideoContentToUnknownOutput(ContentKeyPolicyPlayReadyUnknownOutputPassingOption allowPassingVideoContentToUnknownOutput) Set the allowPassingVideoContentToUnknownOutput property: Configures Unknown output handling settings of the license.- Parameters:
allowPassingVideoContentToUnknownOutput
- the allowPassingVideoContentToUnknownOutput value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
uncompressedDigitalVideoOpl
Get the uncompressedDigitalVideoOpl property: Specifies the output protection level for uncompressed digital video.- Returns:
- the uncompressedDigitalVideoOpl value.
-
withUncompressedDigitalVideoOpl
public ContentKeyPolicyPlayReadyPlayRight withUncompressedDigitalVideoOpl(Integer uncompressedDigitalVideoOpl) Set the uncompressedDigitalVideoOpl property: Specifies the output protection level for uncompressed digital video.- Parameters:
uncompressedDigitalVideoOpl
- the uncompressedDigitalVideoOpl value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
compressedDigitalVideoOpl
Get the compressedDigitalVideoOpl property: Specifies the output protection level for compressed digital video.- Returns:
- the compressedDigitalVideoOpl value.
-
withCompressedDigitalVideoOpl
public ContentKeyPolicyPlayReadyPlayRight withCompressedDigitalVideoOpl(Integer compressedDigitalVideoOpl) Set the compressedDigitalVideoOpl property: Specifies the output protection level for compressed digital video.- Parameters:
compressedDigitalVideoOpl
- the compressedDigitalVideoOpl value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
analogVideoOpl
Get the analogVideoOpl property: Specifies the output protection level for compressed digital audio.- Returns:
- the analogVideoOpl value.
-
withAnalogVideoOpl
Set the analogVideoOpl property: Specifies the output protection level for compressed digital audio.- Parameters:
analogVideoOpl
- the analogVideoOpl value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
compressedDigitalAudioOpl
Get the compressedDigitalAudioOpl property: Specifies the output protection level for compressed digital audio.- Returns:
- the compressedDigitalAudioOpl value.
-
withCompressedDigitalAudioOpl
public ContentKeyPolicyPlayReadyPlayRight withCompressedDigitalAudioOpl(Integer compressedDigitalAudioOpl) Set the compressedDigitalAudioOpl property: Specifies the output protection level for compressed digital audio.- Parameters:
compressedDigitalAudioOpl
- the compressedDigitalAudioOpl value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
uncompressedDigitalAudioOpl
Get the uncompressedDigitalAudioOpl property: Specifies the output protection level for uncompressed digital audio.- Returns:
- the uncompressedDigitalAudioOpl value.
-
withUncompressedDigitalAudioOpl
public ContentKeyPolicyPlayReadyPlayRight withUncompressedDigitalAudioOpl(Integer uncompressedDigitalAudioOpl) Set the uncompressedDigitalAudioOpl property: Specifies the output protection level for uncompressed digital audio.- Parameters:
uncompressedDigitalAudioOpl
- the uncompressedDigitalAudioOpl value to set.- Returns:
- the ContentKeyPolicyPlayReadyPlayRight object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-