Class ContentKeyPolicyPropertiesInner
java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.ContentKeyPolicyPropertiesInner
The properties of the Content Key Policy.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ContentKeyPolicyPropertiesInner class. -
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.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.
-
Constructor Details
-
ContentKeyPolicyPropertiesInner
public ContentKeyPolicyPropertiesInner()Creates an instance of ContentKeyPolicyPropertiesInner class.
-
-
Method Details
-
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 ContentKeyPolicyPropertiesInner 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 ContentKeyPolicyPropertiesInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-