Class StreamingLocatorInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mediaservices.fluent.models.StreamingLocatorInner
public final class StreamingLocatorInner
extends com.azure.core.management.ProxyResource
A Streaming Locator resource.
-
Constructor Summary
-
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.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to this resource.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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
StreamingLocatorInner
public StreamingLocatorInner()Creates an instance of StreamingLocatorInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system metadata relating to this resource.- Returns:
- the systemData value.
-
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 StreamingLocatorInner 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 StreamingLocatorInner 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 StreamingLocatorInner 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 StreamingLocatorInner 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 StreamingLocatorInner object itself.
-
defaultContentKeyPolicyName
Get the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.- Returns:
- the defaultContentKeyPolicyName value.
-
withDefaultContentKeyPolicyName
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.
-
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 StreamingLocatorInner 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 StreamingLocatorInner 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 StreamingLocatorInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-