Class StreamingPolicyInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mediaservices.fluent.models.StreamingPolicyInner

public final class StreamingPolicyInner extends com.azure.core.management.ProxyResource
A Streaming Policy resource.
  • Constructor Details

    • StreamingPolicyInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: The system metadata relating to this resource.
      Returns:
      the systemData value.
    • 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 StreamingPolicyInner withDefaultContentKeyPolicyName(String defaultContentKeyPolicyName)
      Set the defaultContentKeyPolicyName property: Default ContentKey used by current Streaming Policy.
      Parameters:
      defaultContentKeyPolicyName - the defaultContentKeyPolicyName value to set.
      Returns:
      the StreamingPolicyInner object itself.
    • envelopeEncryption

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

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

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

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

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

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

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

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

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