Class StreamingPolicyProperties

java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.StreamingPolicyProperties

public final class StreamingPolicyProperties extends Object
Class to specify properties of Streaming Policy.
  • Constructor Details

    • StreamingPolicyProperties

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

    • created

      public OffsetDateTime created()
      Get the created property: Creation time of Streaming Policy.
      Returns:
      the created value.
    • defaultContentKeyPolicyName

      public String defaultContentKeyPolicyName()
      Get the defaultContentKeyPolicyName property: Default ContentKey used by current Streaming Policy.
      Returns:
      the defaultContentKeyPolicyName value.
    • withDefaultContentKeyPolicyName

      public StreamingPolicyProperties withDefaultContentKeyPolicyName(String defaultContentKeyPolicyName)
      Set the defaultContentKeyPolicyName property: Default ContentKey used by current Streaming Policy.
      Parameters:
      defaultContentKeyPolicyName - the defaultContentKeyPolicyName value to set.
      Returns:
      the StreamingPolicyProperties object itself.
    • envelopeEncryption

      public EnvelopeEncryption envelopeEncryption()
      Get the envelopeEncryption property: Configuration of EnvelopeEncryption.
      Returns:
      the envelopeEncryption value.
    • withEnvelopeEncryption

      public StreamingPolicyProperties withEnvelopeEncryption(EnvelopeEncryption envelopeEncryption)
      Set the envelopeEncryption property: Configuration of EnvelopeEncryption.
      Parameters:
      envelopeEncryption - the envelopeEncryption value to set.
      Returns:
      the StreamingPolicyProperties object itself.
    • commonEncryptionCenc

      public CommonEncryptionCenc commonEncryptionCenc()
      Get the commonEncryptionCenc property: Configuration of CommonEncryptionCenc.
      Returns:
      the commonEncryptionCenc value.
    • withCommonEncryptionCenc

      public StreamingPolicyProperties withCommonEncryptionCenc(CommonEncryptionCenc commonEncryptionCenc)
      Set the commonEncryptionCenc property: Configuration of CommonEncryptionCenc.
      Parameters:
      commonEncryptionCenc - the commonEncryptionCenc value to set.
      Returns:
      the StreamingPolicyProperties object itself.
    • commonEncryptionCbcs

      public CommonEncryptionCbcs commonEncryptionCbcs()
      Get the commonEncryptionCbcs property: Configuration of CommonEncryptionCbcs.
      Returns:
      the commonEncryptionCbcs value.
    • withCommonEncryptionCbcs

      public StreamingPolicyProperties withCommonEncryptionCbcs(CommonEncryptionCbcs commonEncryptionCbcs)
      Set the commonEncryptionCbcs property: Configuration of CommonEncryptionCbcs.
      Parameters:
      commonEncryptionCbcs - the commonEncryptionCbcs value to set.
      Returns:
      the StreamingPolicyProperties object itself.
    • noEncryption

      public NoEncryption noEncryption()
      Get the noEncryption property: Configurations of NoEncryption.
      Returns:
      the noEncryption value.
    • withNoEncryption

      public StreamingPolicyProperties withNoEncryption(NoEncryption noEncryption)
      Set the noEncryption property: Configurations of NoEncryption.
      Parameters:
      noEncryption - the noEncryption value to set.
      Returns:
      the StreamingPolicyProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.