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

    Constructors
    Constructor
    Description
    Creates an instance of LiveOutputInner class.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    Get the assetName property: The asset that the live output will write to.
    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
    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.
    withHls(Hls hls)
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public String description()
      Get the description property: The description of the live output.
      Returns:
      the description value.
    • withDescription

      public LiveOutputInner withDescription(String description)
      Set the description property: The description of the live output.
      Parameters:
      description - the description value to set.
      Returns:
      the LiveOutputInner object itself.
    • assetName

      public String assetName()
      Get the assetName property: The asset that the live output will write to.
      Returns:
      the assetName value.
    • withAssetName

      public LiveOutputInner withAssetName(String assetName)
      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

      public Duration 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

      public LiveOutputInner 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. 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

      public Duration 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

      public LiveOutputInner 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. 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

      public String manifestName()
      Get the manifestName property: The manifest file name. If not provided, the service will generate one automatically.
      Returns:
      the manifestName value.
    • withManifestName

      public LiveOutputInner withManifestName(String manifestName)
      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

      public Hls hls()
      Get the hls property: HTTP Live Streaming (HLS) packing setting for the live output.
      Returns:
      the hls value.
    • withHls

      public LiveOutputInner withHls(Hls hls)
      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

      public Long 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

      public LiveOutputInner 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.
      Parameters:
      outputSnapTime - the outputSnapTime value to set.
      Returns:
      the LiveOutputInner object itself.
    • created

      public OffsetDateTime created()
      Get the created property: The creation time the live output.
      Returns:
      the created value.
    • lastModified

      public OffsetDateTime lastModified()
      Get the lastModified property: The time the live output was last modified.
      Returns:
      the lastModified value.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioning state of the live output.
      Returns:
      the provisioningState value.
    • resourceState

      public LiveOutputResourceState 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.