StreamingPolicyContentKey Class
- java.
lang. Object - com.
azure. resourcemanager. mediaservices. models. StreamingPolicyContentKey
- com.
public final class StreamingPolicyContentKey
Class to specify properties of content key.
Constructor Summary
Constructor | Description |
---|---|
StreamingPolicyContentKey() |
Creates an instance of Streaming |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
label()
Get the label property: Label can be used to specify Content Key when creating a Streaming Locator. |
String |
policyName()
Get the policy |
List<Track |
tracks()
Get the tracks property: Tracks which use this content key. |
void |
validate()
Validates the instance. |
Streaming |
withLabel(String label)
Set the label property: Label can be used to specify Content Key when creating a Streaming Locator. |
Streaming |
withPolicyName(String policyName)
Set the policy |
Streaming |
withTracks(List<TrackSelection> tracks)
Set the tracks property: Tracks which use this content key. |
Methods inherited from java.lang.Object
Constructor Details
StreamingPolicyContentKey
public StreamingPolicyContentKey()
Creates an instance of StreamingPolicyContentKey class.
Method Details
label
public String label()
Get the label property: Label can be used to specify Content Key when creating a Streaming Locator.
Returns:
policyName
public String policyName()
Get the policyName property: Policy used by Content Key.
Returns:
tracks
public List
Get the tracks property: Tracks which use this content key.
Returns:
validate
public void validate()
Validates the instance.
withLabel
public StreamingPolicyContentKey withLabel(String label)
Set the label property: Label can be used to specify Content Key when creating a Streaming Locator.
Parameters:
Returns:
withPolicyName
public StreamingPolicyContentKey withPolicyName(String policyName)
Set the policyName property: Policy used by Content Key.
Parameters:
Returns:
withTracks
public StreamingPolicyContentKey withTracks(List
Set the tracks property: Tracks which use this content key.
Parameters:
Returns:
Applies to
Azure SDK for Java