Class StreamingLocatorProperties
java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.StreamingLocatorProperties
Properties of the Streaming Locator.
-
Constructor Summary
ConstructorDescriptionCreates an instance of StreamingLocatorProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the alternativeMediaId property: Alternative Media ID of this Streaming Locator.Get the assetName property: Asset Name.Get the contentKeys property: The ContentKeys used by this Streaming Locator.created()
Get the created property: The creation time of the Streaming Locator.Get the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.endTime()
Get the endTime property: The end time of the Streaming Locator.filters()
Get the filters property: A list of asset or account filters which apply to this streaming locator.Get the startTime property: The start time of the Streaming Locator.Get the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.Get the streamingPolicyName property: Name of the Streaming Policy used by this Streaming Locator.void
validate()
Validates the instance.withAlternativeMediaId
(String alternativeMediaId) Set the alternativeMediaId property: Alternative Media ID of this Streaming Locator.withAssetName
(String assetName) Set the assetName property: Asset Name.withContentKeys
(List<StreamingLocatorContentKey> contentKeys) Set the contentKeys property: The ContentKeys used by this Streaming Locator.withDefaultContentKeyPolicyName
(String defaultContentKeyPolicyName) Set the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.withEndTime
(OffsetDateTime endTime) Set the endTime property: The end time of the Streaming Locator.withFilters
(List<String> filters) Set the filters property: A list of asset or account filters which apply to this streaming locator.withStartTime
(OffsetDateTime startTime) Set the startTime property: The start time of the Streaming Locator.withStreamingLocatorId
(UUID streamingLocatorId) Set the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.withStreamingPolicyName
(String streamingPolicyName) Set the streamingPolicyName property: Name of the Streaming Policy used by this Streaming Locator.
-
Constructor Details
-
StreamingLocatorProperties
public StreamingLocatorProperties()Creates an instance of StreamingLocatorProperties class.
-
-
Method Details
-
assetName
Get the assetName property: Asset Name.- Returns:
- the assetName value.
-
withAssetName
Set the assetName property: Asset Name.- Parameters:
assetName
- the assetName value to set.- Returns:
- the StreamingLocatorProperties object itself.
-
created
Get the created property: The creation time of the Streaming Locator.- Returns:
- the created value.
-
startTime
Get the startTime property: The start time of the Streaming Locator.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: The start time of the Streaming Locator.- Parameters:
startTime
- the startTime value to set.- Returns:
- the StreamingLocatorProperties object itself.
-
endTime
Get the endTime property: The end time of the Streaming Locator.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: The end time of the Streaming Locator.- Parameters:
endTime
- the endTime value to set.- Returns:
- the StreamingLocatorProperties object itself.
-
streamingLocatorId
Get the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.- Returns:
- the streamingLocatorId value.
-
withStreamingLocatorId
Set the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.- Parameters:
streamingLocatorId
- the streamingLocatorId value to set.- Returns:
- the StreamingLocatorProperties object itself.
-
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.
-
withStreamingPolicyName
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 StreamingLocatorProperties object itself.
-
defaultContentKeyPolicyName
Get the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.- Returns:
- the defaultContentKeyPolicyName value.
-
withDefaultContentKeyPolicyName
public StreamingLocatorProperties 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 StreamingLocatorProperties object itself.
-
contentKeys
Get the contentKeys property: The ContentKeys used by this Streaming Locator.- Returns:
- the contentKeys value.
-
withContentKeys
Set the contentKeys property: The ContentKeys used by this Streaming Locator.- Parameters:
contentKeys
- the contentKeys value to set.- Returns:
- the StreamingLocatorProperties object itself.
-
alternativeMediaId
Get the alternativeMediaId property: Alternative Media ID of this Streaming Locator.- Returns:
- the alternativeMediaId value.
-
withAlternativeMediaId
Set the alternativeMediaId property: Alternative Media ID of this Streaming Locator.- Parameters:
alternativeMediaId
- the alternativeMediaId value to set.- Returns:
- the StreamingLocatorProperties object itself.
-
filters
Get the filters property: A list of asset or account filters which apply to this streaming locator.- Returns:
- the filters value.
-
withFilters
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 StreamingLocatorProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-