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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the commonEncryptionCbcs property: Configuration of CommonEncryptionCbcs.Get the commonEncryptionCenc property: Configuration of CommonEncryptionCenc.created()
Get the created property: Creation time of Streaming Policy.Get the defaultContentKeyPolicyName property: Default ContentKey used by current Streaming Policy.Get the envelopeEncryption property: Configuration of EnvelopeEncryption.Get the noEncryption property: Configurations of NoEncryption.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to this resource.void
validate()
Validates the instance.withCommonEncryptionCbcs
(CommonEncryptionCbcs commonEncryptionCbcs) Set the commonEncryptionCbcs property: Configuration of CommonEncryptionCbcs.withCommonEncryptionCenc
(CommonEncryptionCenc commonEncryptionCenc) Set the commonEncryptionCenc property: Configuration of CommonEncryptionCenc.withDefaultContentKeyPolicyName
(String defaultContentKeyPolicyName) Set the defaultContentKeyPolicyName property: Default ContentKey used by current Streaming Policy.withEnvelopeEncryption
(EnvelopeEncryption envelopeEncryption) Set the envelopeEncryption property: Configuration of EnvelopeEncryption.withNoEncryption
(NoEncryption noEncryption) Set the noEncryption property: Configurations of NoEncryption.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
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
Get the created property: Creation time of Streaming Policy.- Returns:
- the created value.
-
defaultContentKeyPolicyName
Get the defaultContentKeyPolicyName property: Default ContentKey used by current Streaming Policy.- Returns:
- the defaultContentKeyPolicyName value.
-
withDefaultContentKeyPolicyName
Set the defaultContentKeyPolicyName property: Default ContentKey used by current Streaming Policy.- Parameters:
defaultContentKeyPolicyName
- the defaultContentKeyPolicyName value to set.- Returns:
- the StreamingPolicyInner object itself.
-
envelopeEncryption
Get the envelopeEncryption property: Configuration of EnvelopeEncryption.- Returns:
- the envelopeEncryption value.
-
withEnvelopeEncryption
Set the envelopeEncryption property: Configuration of EnvelopeEncryption.- Parameters:
envelopeEncryption
- the envelopeEncryption value to set.- Returns:
- the StreamingPolicyInner object itself.
-
commonEncryptionCenc
Get the commonEncryptionCenc property: Configuration of CommonEncryptionCenc.- Returns:
- the commonEncryptionCenc value.
-
withCommonEncryptionCenc
Set the commonEncryptionCenc property: Configuration of CommonEncryptionCenc.- Parameters:
commonEncryptionCenc
- the commonEncryptionCenc value to set.- Returns:
- the StreamingPolicyInner object itself.
-
commonEncryptionCbcs
Get the commonEncryptionCbcs property: Configuration of CommonEncryptionCbcs.- Returns:
- the commonEncryptionCbcs value.
-
withCommonEncryptionCbcs
Set the commonEncryptionCbcs property: Configuration of CommonEncryptionCbcs.- Parameters:
commonEncryptionCbcs
- the commonEncryptionCbcs value to set.- Returns:
- the StreamingPolicyInner object itself.
-
noEncryption
Get the noEncryption property: Configurations of NoEncryption.- Returns:
- the noEncryption value.
-
withNoEncryption
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.
-