Class ContentKeyPolicyPropertiesInner

java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.ContentKeyPolicyPropertiesInner

public final class ContentKeyPolicyPropertiesInner extends Object
The properties of the Content Key Policy.
  • Constructor Details

    • ContentKeyPolicyPropertiesInner

      public ContentKeyPolicyPropertiesInner()
      Creates an instance of ContentKeyPolicyPropertiesInner class.
  • Method Details

    • 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 ContentKeyPolicyPropertiesInner withDescription(String description)
      Set the description property: A description for the Policy.
      Parameters:
      description - the description value to set.
      Returns:
      the ContentKeyPolicyPropertiesInner object itself.
    • options

      public List<ContentKeyPolicyOption> 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.