StreamingPolicyContentKey Class

  • java.lang.Object
    • com.azure.resourcemanager.mediaservices.models.StreamingPolicyContentKey

public final class StreamingPolicyContentKey

Class to specify properties of content key.

Constructor Summary

Constructor Description
StreamingPolicyContentKey()

Creates an instance of StreamingPolicyContentKey class.

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 policyName property: Policy used by Content Key.

List<TrackSelection> tracks()

Get the tracks property: Tracks which use this content key.

void validate()

Validates the instance.

StreamingPolicyContentKey withLabel(String label)

Set the label property: Label can be used to specify Content Key when creating a Streaming Locator.

StreamingPolicyContentKey withPolicyName(String policyName)

Set the policyName property: Policy used by Content Key.

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

the label value.

policyName

public String policyName()

Get the policyName property: Policy used by Content Key.

Returns:

the policyName value.

tracks

public List tracks()

Get the tracks property: Tracks which use this content key.

Returns:

the tracks value.

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:

label - the label value to set.

Returns:

the StreamingPolicyContentKey object itself.

withPolicyName

public StreamingPolicyContentKey withPolicyName(String policyName)

Set the policyName property: Policy used by Content Key.

Parameters:

policyName - the policyName value to set.

Returns:

the StreamingPolicyContentKey object itself.

withTracks

public StreamingPolicyContentKey withTracks(List tracks)

Set the tracks property: Tracks which use this content key.

Parameters:

tracks - the tracks value to set.

Returns:

the StreamingPolicyContentKey object itself.

Applies to