Class ContentKeyPolicyPlayReadyPlayRight

java.lang.Object
com.azure.resourcemanager.mediaservices.models.ContentKeyPolicyPlayReadyPlayRight

public final class ContentKeyPolicyPlayReadyPlayRight extends Object
Configures the Play Right in the PlayReady license.
  • Constructor Details

    • ContentKeyPolicyPlayReadyPlayRight

      public ContentKeyPolicyPlayReadyPlayRight()
      Creates an instance of ContentKeyPolicyPlayReadyPlayRight class.
  • Method Details

    • firstPlayExpiration

      public Duration 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

      public ContentKeyPolicyPlayReadyPlayRight 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.
      Parameters:
      firstPlayExpiration - the firstPlayExpiration value to set.
      Returns:
      the ContentKeyPolicyPlayReadyPlayRight object itself.
    • scmsRestriction

      public Integer 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

      public ContentKeyPolicyPlayReadyPlayRight withScmsRestriction(Integer scmsRestriction)
      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

      public Integer 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

      public Integer 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

      public Integer 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

      public Integer analogVideoOpl()
      Get the analogVideoOpl property: Specifies the output protection level for compressed digital audio.
      Returns:
      the analogVideoOpl value.
    • withAnalogVideoOpl

      public ContentKeyPolicyPlayReadyPlayRight withAnalogVideoOpl(Integer analogVideoOpl)
      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

      public Integer 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

      public Integer 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.