ContentKeyPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. mediaservices. fluent. models. ContentKeyPolicyInner
- com.
- com.
public final class ContentKeyPolicyInner
extends ProxyResource
A Content Key Policy resource.
Constructor Summary
Constructor | Description |
---|---|
ContentKeyPolicyInner() |
Creates an instance of Content |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
created()
Get the created property: The creation date of the Policy. |
String |
description()
Get the description property: A description for the Policy. |
Offset |
lastModified()
Get the last |
List<Content |
options()
Get the options property: The Key Policy options. |
UUID |
policyId()
Get the policy |
System |
systemData()
Get the system |
void |
validate()
Validates the instance. |
Content |
withDescription(String description)
Set the description property: A description for the Policy. |
Content |
withOptions(List<ContentKeyPolicyOption> options)
Set the options property: The Key Policy options. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ContentKeyPolicyInner
public ContentKeyPolicyInner()
Creates an instance of ContentKeyPolicyInner class.
Method Details
created
public OffsetDateTime created()
Get the created property: The creation date of the Policy.
Returns:
description
public String description()
Get the description property: A description for the Policy.
Returns:
lastModified
public OffsetDateTime lastModified()
Get the lastModified property: The last modified date of the Policy.
Returns:
options
public List
Get the options property: The Key Policy options.
Returns:
policyId
public UUID policyId()
Get the policyId property: The legacy Policy ID.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to this resource.
Returns:
validate
public void validate()
Validates the instance.
withDescription
public ContentKeyPolicyInner withDescription(String description)
Set the description property: A description for the Policy.
Parameters:
Returns:
withOptions
public ContentKeyPolicyInner withOptions(List
Set the options property: The Key Policy options.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for