ContentKeyPolicyInner Class

public final class ContentKeyPolicyInner
extends ProxyResource

A Content Key Policy resource.

Constructor Summary

Constructor Description
ContentKeyPolicyInner()

Creates an instance of ContentKeyPolicyInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime created()

Get the created property: The creation date of the Policy.

String description()

Get the description property: A description for the Policy.

OffsetDateTime lastModified()

Get the lastModified property: The last modified date of the Policy.

List<ContentKeyPolicyOption> options()

Get the options property: The Key Policy options.

UUID policyId()

Get the policyId property: The legacy Policy ID.

SystemData systemData()

Get the systemData property: The system metadata relating to this resource.

void validate()

Validates the instance.

ContentKeyPolicyInner withDescription(String description)

Set the description property: A description for the Policy.

ContentKeyPolicyInner 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:

the created value.

description

public String description()

Get the description property: A description for the Policy.

Returns:

the description value.

lastModified

public OffsetDateTime lastModified()

Get the lastModified property: The last modified date of the Policy.

Returns:

the lastModified value.

options

public List options()

Get the options property: The Key Policy options.

Returns:

the options value.

policyId

public UUID policyId()

Get the policyId property: The legacy Policy ID.

Returns:

the policyId value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata relating to this resource.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

withDescription

public ContentKeyPolicyInner withDescription(String description)

Set the description property: A description for the Policy.

Parameters:

description - the description value to set.

Returns:

the ContentKeyPolicyInner object itself.

withOptions

public ContentKeyPolicyInner withOptions(List options)

Set the options property: The Key Policy options.

Parameters:

options - the options value to set.

Returns:

the ContentKeyPolicyInner object itself.

Applies to