Class StreamingLocatorContentKey

java.lang.Object
com.azure.resourcemanager.mediaservices.models.StreamingLocatorContentKey

public final class StreamingLocatorContentKey extends Object
Class for content key in Streaming Locator.
  • Constructor Details

    • StreamingLocatorContentKey

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

    • id

      public UUID id()
      Get the id property: ID of Content Key.
      Returns:
      the id value.
    • withId

      public StreamingLocatorContentKey withId(UUID id)
      Set the id property: ID of Content Key.
      Parameters:
      id - the id value to set.
      Returns:
      the StreamingLocatorContentKey object itself.
    • type

      Get the type property: Encryption type of Content Key.
      Returns:
      the type value.
    • labelReferenceInStreamingPolicy

      public String labelReferenceInStreamingPolicy()
      Get the labelReferenceInStreamingPolicy property: Label of Content Key as specified in the Streaming Policy.
      Returns:
      the labelReferenceInStreamingPolicy value.
    • withLabelReferenceInStreamingPolicy

      public StreamingLocatorContentKey withLabelReferenceInStreamingPolicy(String labelReferenceInStreamingPolicy)
      Set the labelReferenceInStreamingPolicy property: Label of Content Key as specified in the Streaming Policy.
      Parameters:
      labelReferenceInStreamingPolicy - the labelReferenceInStreamingPolicy value to set.
      Returns:
      the StreamingLocatorContentKey object itself.
    • value

      public String value()
      Get the value property: Value of Content Key.
      Returns:
      the value value.
    • withValue

      public StreamingLocatorContentKey withValue(String value)
      Set the value property: Value of Content Key.
      Parameters:
      value - the value value to set.
      Returns:
      the StreamingLocatorContentKey object itself.
    • policyName

      public String policyName()
      Get the policyName property: ContentKeyPolicy used by Content Key.
      Returns:
      the policyName value.
    • tracks

      public List<TrackSelection> tracks()
      Get the tracks property: Tracks which use this Content Key.
      Returns:
      the tracks value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.