StreamingLocatorInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. mediaservices. fluent. models. StreamingLocatorInner
- com.
- com.
public final class StreamingLocatorInner
extends ProxyResource
A Streaming Locator resource.
Constructor Summary
| Constructor | Description |
|---|---|
| StreamingLocatorInner() |
Creates an instance of Streaming |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
alternativeMediaId()
Get the alternative |
| String |
assetName()
Get the asset |
|
List<Streaming |
contentKeys()
Get the content |
|
Offset |
created()
Get the created property: The creation time of the Streaming Locator. |
| String |
defaultContentKeyPolicyName()
Get the default |
|
Offset |
endTime()
Get the end |
| List<String> |
filters()
Get the filters property: A list of asset or account filters which apply to this streaming locator. |
|
static
Streaming |
fromJson(JsonReader jsonReader)
Reads an instance of Streaming |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Offset |
startTime()
Get the start |
| UUID |
streamingLocatorId()
Get the streaming |
| String |
streamingPolicyName()
Get the streaming |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Streaming |
withAlternativeMediaId(String alternativeMediaId)
Set the alternative |
|
Streaming |
withAssetName(String assetName)
Set the asset |
|
Streaming |
withContentKeys(List<StreamingLocatorContentKey> contentKeys)
Set the content |
|
Streaming |
withDefaultContentKeyPolicyName(String defaultContentKeyPolicyName)
Set the default |
|
Streaming |
withEndTime(OffsetDateTime endTime)
Set the end |
|
Streaming |
withFilters(List<String> filters)
Set the filters property: A list of asset or account filters which apply to this streaming locator. |
|
Streaming |
withStartTime(OffsetDateTime startTime)
Set the start |
|
Streaming |
withStreamingLocatorId(UUID streamingLocatorId)
Set the streaming |
|
Streaming |
withStreamingPolicyName(String streamingPolicyName)
Set the streaming |
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:
assetName
public String assetName()
Get the assetName property: Asset Name.
Returns:
contentKeys
public List<StreamingLocatorContentKey> contentKeys()
Get the contentKeys property: The ContentKeys used by this Streaming Locator.
Returns:
created
public OffsetDateTime created()
Get the created property: The creation time of the Streaming Locator.
Returns:
defaultContentKeyPolicyName
public String defaultContentKeyPolicyName()
Get the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: The end time of the Streaming Locator.
Returns:
filters
public List<String> filters()
Get the filters property: A list of asset or account filters which apply to this streaming locator.
Returns:
fromJson
public static StreamingLocatorInner fromJson(JsonReader jsonReader)
Reads an instance of StreamingLocatorInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StreamingLocatorInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
StreamingLocatorInner.name()Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The start time of the Streaming Locator.
Returns:
streamingLocatorId
public UUID streamingLocatorId()
Get the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.
Returns:
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:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StreamingLocatorInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StreamingLocatorInner.type()Returns:
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:
Returns:
withAssetName
public StreamingLocatorInner withAssetName(String assetName)
Set the assetName property: Asset Name.
Parameters:
Returns:
withContentKeys
public StreamingLocatorInner withContentKeys(List<StreamingLocatorContentKey> contentKeys)
Set the contentKeys property: The ContentKeys used by this Streaming Locator.
Parameters:
Returns:
withDefaultContentKeyPolicyName
public StreamingLocatorInner withDefaultContentKeyPolicyName(String defaultContentKeyPolicyName)
Set the defaultContentKeyPolicyName property: Name of the default ContentKeyPolicy used by this Streaming Locator.
Parameters:
Returns:
withEndTime
public StreamingLocatorInner withEndTime(OffsetDateTime endTime)
Set the endTime property: The end time of the Streaming Locator.
Parameters:
Returns:
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:
Returns:
withStartTime
public StreamingLocatorInner withStartTime(OffsetDateTime startTime)
Set the startTime property: The start time of the Streaming Locator.
Parameters:
Returns:
withStreamingLocatorId
public StreamingLocatorInner withStreamingLocatorId(UUID streamingLocatorId)
Set the streamingLocatorId property: The StreamingLocatorId of the Streaming Locator.
Parameters:
Returns:
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:
Returns: