Class ContentKeyPolicyInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mediaservices.fluent.models.ContentKeyPolicyInner
public final class ContentKeyPolicyInner
extends com.azure.core.management.ProxyResource
A Content Key Policy resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreated()
Get the created property: The creation date of the Policy.Get the description property: A description for the Policy.Get the lastModified property: The last modified date of the Policy.options()
Get the options property: The Key Policy options.policyId()
Get the policyId property: The legacy Policy ID.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to this resource.void
validate()
Validates the instance.withDescription
(String description) Set the description property: A description for the Policy.withOptions
(List<ContentKeyPolicyOption> options) Set the options property: The Key Policy options.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ContentKeyPolicyInner
public ContentKeyPolicyInner()Creates an instance of ContentKeyPolicyInner 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.
-
policyId
Get the policyId property: The legacy Policy ID.- Returns:
- the policyId value.
-
created
Get the created property: The creation date of the Policy.- Returns:
- the created value.
-
lastModified
Get the lastModified property: The last modified date of the Policy.- Returns:
- the lastModified value.
-
description
Get the description property: A description for the Policy.- Returns:
- the description value.
-
withDescription
Set the description property: A description for the Policy.- Parameters:
description
- the description value to set.- Returns:
- the ContentKeyPolicyInner object itself.
-
options
Get the options property: The Key Policy options.- Returns:
- the options value.
-
withOptions
Set the options property: The Key Policy options.- Parameters:
options
- the options value to set.- Returns:
- the ContentKeyPolicyInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-