StreamingLocatorInner Class

public final class StreamingLocatorInner
extends ProxyResource

A Streaming Locator resource.

Constructor Summary

Constructor Description
StreamingLocatorInner()

Creates an instance of StreamingLocatorInner class.

Method Summary

Modifier and Type Method and Description
String alternativeMediaId()

Get the alternativeMediaId property: Alternative Media ID of this Streaming Locator.

String assetName()

Get the assetName property: Asset Name.

List<StreamingLocatorContentKey> contentKeys()

Get the contentKeys property: The ContentKeys used by this Streaming Locator.

OffsetDateTime created()

Get the created property: The creation time of the Streaming Locator.

String defaultContentKeyPolicyName()

Get the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.

OffsetDateTime endTime()

Get the endTime property: The end time of the Streaming Locator.

List<String> filters()

Get the filters property: A list of asset or account filters which apply to this streaming locator.

static StreamingLocatorInner fromJson(JsonReader jsonReader)

Reads an instance of StreamingLocatorInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

OffsetDateTime startTime()

Get the startTime property: The start time of the Streaming Locator.

UUID streamingLocatorId()

Get the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.

String streamingPolicyName()

Get the streamingPolicyName property: Name of the Streaming Policy used by this Streaming Locator.

SystemData systemData()

Get the systemData property: The system metadata relating to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StreamingLocatorInner withAlternativeMediaId(String alternativeMediaId)

Set the alternativeMediaId property: Alternative Media ID of this Streaming Locator.

StreamingLocatorInner withAssetName(String assetName)

Set the assetName property: Asset Name.

StreamingLocatorInner withContentKeys(List<StreamingLocatorContentKey> contentKeys)

Set the contentKeys property: The ContentKeys used by this Streaming Locator.

StreamingLocatorInner withDefaultContentKeyPolicyName(String defaultContentKeyPolicyName)

Set the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.

StreamingLocatorInner withEndTime(OffsetDateTime endTime)

Set the endTime property: The end time of the Streaming Locator.

StreamingLocatorInner withFilters(List<String> filters)

Set the filters property: A list of asset or account filters which apply to this streaming locator.

StreamingLocatorInner withStartTime(OffsetDateTime startTime)

Set the startTime property: The start time of the Streaming Locator.

StreamingLocatorInner withStreamingLocatorId(UUID streamingLocatorId)

Set the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.

StreamingLocatorInner withStreamingPolicyName(String streamingPolicyName)

Set the streamingPolicyName property: Name of the Streaming Policy used by this Streaming Locator.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

StreamingLocatorInner

public StreamingLocatorInner()

Creates an instance of StreamingLocatorInner class.

Method Details

alternativeMediaId

public String alternativeMediaId()

Get the alternativeMediaId property: Alternative Media ID of this Streaming Locator.

Returns:

the alternativeMediaId value.

assetName

public String assetName()

Get the assetName property: Asset Name.

Returns:

the assetName value.

contentKeys

public List<StreamingLocatorContentKey> contentKeys()

Get the contentKeys property: The ContentKeys used by this Streaming Locator.

Returns:

the contentKeys value.

created

public OffsetDateTime created()

Get the created property: The creation time of the Streaming Locator.

Returns:

the created value.

defaultContentKeyPolicyName

public String defaultContentKeyPolicyName()

Get the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.

Returns:

the defaultContentKeyPolicyName value.

endTime

public OffsetDateTime endTime()

Get the endTime property: The end time of the Streaming Locator.

Returns:

the endTime value.

filters

public List<String> filters()

Get the filters property: A list of asset or account filters which apply to this streaming locator.

Returns:

the filters value.

fromJson

public static StreamingLocatorInner fromJson(JsonReader jsonReader)

Reads an instance of StreamingLocatorInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StreamingLocatorInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

StreamingLocatorInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StreamingLocatorInner.name()

Returns:

the name value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The start time of the Streaming Locator.

Returns:

the startTime value.

streamingLocatorId

public UUID streamingLocatorId()

Get the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.

Returns:

the streamingLocatorId value.

streamingPolicyName

public String streamingPolicyName()

Get the streamingPolicyName property: Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming'.

Returns:

the streamingPolicyName value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata relating to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StreamingLocatorInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StreamingLocatorInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAlternativeMediaId

public StreamingLocatorInner withAlternativeMediaId(String alternativeMediaId)

Set the alternativeMediaId property: Alternative Media ID of this Streaming Locator.

Parameters:

alternativeMediaId - the alternativeMediaId value to set.

Returns:

the StreamingLocatorInner object itself.

withAssetName

public StreamingLocatorInner withAssetName(String assetName)

Set the assetName property: Asset Name.

Parameters:

assetName - the assetName value to set.

Returns:

the StreamingLocatorInner object itself.

withContentKeys

public StreamingLocatorInner withContentKeys(List<StreamingLocatorContentKey> contentKeys)

Set the contentKeys property: The ContentKeys used by this Streaming Locator.

Parameters:

contentKeys - the contentKeys value to set.

Returns:

the StreamingLocatorInner object itself.

withDefaultContentKeyPolicyName

public StreamingLocatorInner withDefaultContentKeyPolicyName(String defaultContentKeyPolicyName)

Set the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.

Parameters:

defaultContentKeyPolicyName - the defaultContentKeyPolicyName value to set.

Returns:

the StreamingLocatorInner object itself.

withEndTime

public StreamingLocatorInner withEndTime(OffsetDateTime endTime)

Set the endTime property: The end time of the Streaming Locator.

Parameters:

endTime - the endTime value to set.

Returns:

the StreamingLocatorInner object itself.

withFilters

public StreamingLocatorInner withFilters(List<String> filters)

Set the filters property: A list of asset or account filters which apply to this streaming locator.

Parameters:

filters - the filters value to set.

Returns:

the StreamingLocatorInner object itself.

withStartTime

public StreamingLocatorInner withStartTime(OffsetDateTime startTime)

Set the startTime property: The start time of the Streaming Locator.

Parameters:

startTime - the startTime value to set.

Returns:

the StreamingLocatorInner object itself.

withStreamingLocatorId

public StreamingLocatorInner withStreamingLocatorId(UUID streamingLocatorId)

Set the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.

Parameters:

streamingLocatorId - the streamingLocatorId value to set.

Returns:

the StreamingLocatorInner object itself.

withStreamingPolicyName

public StreamingLocatorInner withStreamingPolicyName(String streamingPolicyName)

Set the streamingPolicyName property: Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming'.

Parameters:

streamingPolicyName - the streamingPolicyName value to set.

Returns:

the StreamingLocatorInner object itself.

Applies to