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

      public UUID policyId()
      Get the policyId property: The legacy Policy ID.
      Returns:
      the policyId value.
    • created

      public OffsetDateTime created()
      Get the created property: The creation date of the Policy.
      Returns:
      the created value.
    • lastModified

      public OffsetDateTime lastModified()
      Get the lastModified property: The last modified date of the Policy.
      Returns:
      the lastModified value.
    • description

      public String description()
      Get the description property: A description for the Policy.
      Returns:
      the description value.
    • 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.
    • options

      public List<ContentKeyPolicyOption> options()
      Get the options property: The Key Policy options.
      Returns:
      the options value.
    • withOptions

      public ContentKeyPolicyInner withOptions(List<ContentKeyPolicyOption> options)
      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.