Class LiveOutputProperties

java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.LiveOutputProperties

public final class LiveOutputProperties extends Object
The JSON object that contains the properties required to create a live output.
  • Constructor Details

    • LiveOutputProperties

      public LiveOutputProperties()
      Creates an instance of LiveOutputProperties class.
  • Method Details

    • description

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

      public LiveOutputProperties withDescription(String description)
      Set the description property: The description of the live output.
      Parameters:
      description - the description value to set.
      Returns:
      the LiveOutputProperties 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 LiveOutputProperties 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 LiveOutputProperties 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 LiveOutputProperties 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 LiveOutputProperties 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 LiveOutputProperties 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 LiveOutputProperties 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 LiveOutputProperties 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 LiveOutputProperties 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 LiveOutputProperties 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 LiveOutputProperties 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 LiveOutputProperties 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 LiveOutputProperties 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.