Class LiveOutputInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mediaservices.fluent.models.LiveOutputInner
public final class LiveOutputInner
extends com.azure.core.management.ProxyResource
The Live Output.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the archiveWindowLength property: ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output.Get the assetName property: The asset that the live output will write to.created()
Get the created property: The creation time the live output.Get the description property: The description of the live output.hls()
Get the hls property: HTTP Live Streaming (HLS) packing setting for the live output.Get the lastModified property: The time the live output was last modified.Get the manifestName property: The manifest file name.Get the outputSnapTime property: The initial timestamp that the live output will start at, any content before this value will not be archived.Get the provisioningState property: The provisioning state of the live output.Get the resourceState property: The resource state of the live output.Get the rewindWindowLength property: ISO 8601 time between 1 minute to the duration of archiveWindowLength to control seek-able window length during Live.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to this resource.void
validate()
Validates the instance.withArchiveWindowLength
(Duration archiveWindowLength) Set the archiveWindowLength property: ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output.withAssetName
(String assetName) Set the assetName property: The asset that the live output will write to.withDescription
(String description) Set the description property: The description of the live output.Set the hls property: HTTP Live Streaming (HLS) packing setting for the live output.withManifestName
(String manifestName) Set the manifestName property: The manifest file name.withOutputSnapTime
(Long outputSnapTime) Set the outputSnapTime property: The initial timestamp that the live output will start at, any content before this value will not be archived.withRewindWindowLength
(Duration rewindWindowLength) Set the rewindWindowLength property: ISO 8601 time between 1 minute to the duration of archiveWindowLength to control seek-able window length during Live.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
LiveOutputInner
public LiveOutputInner()Creates an instance of LiveOutputInner 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.
-
description
Get the description property: The description of the live output.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the live output.- Parameters:
description
- the description value to set.- Returns:
- the LiveOutputInner object itself.
-
assetName
Get the assetName property: The asset that the live output will write to.- Returns:
- the assetName value.
-
withAssetName
Set the assetName property: The asset that the live output will write to.- Parameters:
assetName
- the assetName value to set.- Returns:
- the LiveOutputInner object itself.
-
archiveWindowLength
Get the archiveWindowLength property: ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window.- Returns:
- the archiveWindowLength value.
-
withArchiveWindowLength
Set the archiveWindowLength property: ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window.- Parameters:
archiveWindowLength
- the archiveWindowLength value to set.- Returns:
- the LiveOutputInner object itself.
-
rewindWindowLength
Get the rewindWindowLength property: ISO 8601 time between 1 minute to the duration of archiveWindowLength to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL.- Returns:
- the rewindWindowLength value.
-
withRewindWindowLength
Set the rewindWindowLength property: ISO 8601 time between 1 minute to the duration of archiveWindowLength to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL.- Parameters:
rewindWindowLength
- the rewindWindowLength value to set.- Returns:
- the LiveOutputInner object itself.
-
manifestName
Get the manifestName property: The manifest file name. If not provided, the service will generate one automatically.- Returns:
- the manifestName value.
-
withManifestName
Set the manifestName property: The manifest file name. If not provided, the service will generate one automatically.- Parameters:
manifestName
- the manifestName value to set.- Returns:
- the LiveOutputInner object itself.
-
hls
Get the hls property: HTTP Live Streaming (HLS) packing setting for the live output.- Returns:
- the hls value.
-
withHls
Set the hls property: HTTP Live Streaming (HLS) packing setting for the live output.- Parameters:
hls
- the hls value to set.- Returns:
- the LiveOutputInner object itself.
-
outputSnapTime
Get the outputSnapTime property: The initial timestamp that the live output will start at, any content before this value will not be archived.- Returns:
- the outputSnapTime value.
-
withOutputSnapTime
Set the outputSnapTime property: The initial timestamp that the live output will start at, any content before this value will not be archived.- Parameters:
outputSnapTime
- the outputSnapTime value to set.- Returns:
- the LiveOutputInner object itself.
-
created
Get the created property: The creation time the live output.- Returns:
- the created value.
-
lastModified
Get the lastModified property: The time the live output was last modified.- Returns:
- the lastModified value.
-
provisioningState
Get the provisioningState property: The provisioning state of the live output.- Returns:
- the provisioningState value.
-
resourceState
Get the resourceState property: The resource state of the live output.- Returns:
- the resourceState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-