Class StreamingLocatorContentKey
java.lang.Object
com.azure.resourcemanager.mediaservices.models.StreamingLocatorContentKey
Class for content key in Streaming Locator.
-
Constructor Summary
ConstructorDescriptionCreates an instance of StreamingLocatorContentKey class. -
Method Summary
Modifier and TypeMethodDescriptionid()
Get the id property: ID of Content Key.Get the labelReferenceInStreamingPolicy property: Label of Content Key as specified in the Streaming Policy.Get the policyName property: ContentKeyPolicy used by Content Key.tracks()
Get the tracks property: Tracks which use this Content Key.type()
Get the type property: Encryption type of Content Key.void
validate()
Validates the instance.value()
Get the value property: Value of Content Key.Set the id property: ID of Content Key.withLabelReferenceInStreamingPolicy
(String labelReferenceInStreamingPolicy) Set the labelReferenceInStreamingPolicy property: Label of Content Key as specified in the Streaming Policy.Set the value property: Value of Content Key.
-
Constructor Details
-
StreamingLocatorContentKey
public StreamingLocatorContentKey()Creates an instance of StreamingLocatorContentKey class.
-
-
Method Details
-
id
Get the id property: ID of Content Key.- Returns:
- the id value.
-
withId
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
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
Get the value property: Value of Content Key.- Returns:
- the value value.
-
withValue
Set the value property: Value of Content Key.- Parameters:
value
- the value value to set.- Returns:
- the StreamingLocatorContentKey object itself.
-
policyName
Get the policyName property: ContentKeyPolicy used by Content Key.- Returns:
- the policyName value.
-
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.
-