Class CbcsDrmConfiguration
java.lang.Object
com.azure.resourcemanager.mediaservices.models.CbcsDrmConfiguration
Class to specify DRM configurations of CommonEncryptionCbcs scheme in Streaming Policy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfairPlay()
Get the fairPlay property: FairPlay configurations.Get the playReady property: PlayReady configurations.void
validate()
Validates the instance.widevine()
Get the widevine property: Widevine configurations.Set the fairPlay property: FairPlay configurations.Set the playReady property: PlayReady configurations.Set the widevine property: Widevine configurations.
-
Constructor Details
-
CbcsDrmConfiguration
public CbcsDrmConfiguration()Creates an instance of CbcsDrmConfiguration class.
-
-
Method Details
-
fairPlay
Get the fairPlay property: FairPlay configurations.- Returns:
- the fairPlay value.
-
withFairPlay
Set the fairPlay property: FairPlay configurations.- Parameters:
fairPlay
- the fairPlay value to set.- Returns:
- the CbcsDrmConfiguration object itself.
-
playReady
Get the playReady property: PlayReady configurations.- Returns:
- the playReady value.
-
withPlayReady
Set the playReady property: PlayReady configurations.- Parameters:
playReady
- the playReady value to set.- Returns:
- the CbcsDrmConfiguration object itself.
-
widevine
Get the widevine property: Widevine configurations.- Returns:
- the widevine value.
-
withWidevine
Set the widevine property: Widevine configurations.- Parameters:
widevine
- the widevine value to set.- Returns:
- the CbcsDrmConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-