StreamingPolicyContentKeys Class

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

public final class StreamingPolicyContentKeys

Class to specify properties of all content keys in Streaming Policy.

Constructor Summary

Constructor Description
StreamingPolicyContentKeys()

Creates an instance of StreamingPolicyContentKeys class.

Method Summary

Modifier and Type Method and Description
DefaultKey defaultKey()

Get the defaultKey property: Default content key for an encryption scheme.

List<StreamingPolicyContentKey> keyToTrackMappings()

Get the keyToTrackMappings property: Representing tracks needs separate content key.

void validate()

Validates the instance.

StreamingPolicyContentKeys withDefaultKey(DefaultKey defaultKey)

Set the defaultKey property: Default content key for an encryption scheme.

StreamingPolicyContentKeys withKeyToTrackMappings(List<StreamingPolicyContentKey> keyToTrackMappings)

Set the keyToTrackMappings property: Representing tracks needs separate content key.

Methods inherited from java.lang.Object

Constructor Details

StreamingPolicyContentKeys

public StreamingPolicyContentKeys()

Creates an instance of StreamingPolicyContentKeys class.

Method Details

defaultKey

public DefaultKey defaultKey()

Get the defaultKey property: Default content key for an encryption scheme.

Returns:

the defaultKey value.

keyToTrackMappings

public List keyToTrackMappings()

Get the keyToTrackMappings property: Representing tracks needs separate content key.

Returns:

the keyToTrackMappings value.

validate

public void validate()

Validates the instance.

withDefaultKey

public StreamingPolicyContentKeys withDefaultKey(DefaultKey defaultKey)

Set the defaultKey property: Default content key for an encryption scheme.

Parameters:

defaultKey - the defaultKey value to set.

Returns:

the StreamingPolicyContentKeys object itself.

withKeyToTrackMappings

public StreamingPolicyContentKeys withKeyToTrackMappings(List keyToTrackMappings)

Set the keyToTrackMappings property: Representing tracks needs separate content key.

Parameters:

keyToTrackMappings - the keyToTrackMappings value to set.

Returns:

the StreamingPolicyContentKeys object itself.

Applies to