Class LiveEventProperties

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

public final class LiveEventProperties extends Object
The live event properties.
  • Constructor Details

    • LiveEventProperties

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

    • description

      public String description()
      Get the description property: A description for the live event.
      Returns:
      the description value.
    • withDescription

      public LiveEventProperties withDescription(String description)
      Set the description property: A description for the live event.
      Parameters:
      description - the description value to set.
      Returns:
      the LiveEventProperties object itself.
    • input

      public LiveEventInput input()
      Get the input property: Live event input settings. It defines how the live event receives input from a contribution encoder.
      Returns:
      the input value.
    • withInput

      public LiveEventProperties withInput(LiveEventInput input)
      Set the input property: Live event input settings. It defines how the live event receives input from a contribution encoder.
      Parameters:
      input - the input value to set.
      Returns:
      the LiveEventProperties object itself.
    • preview

      public LiveEventPreview preview()
      Get the preview property: Live event preview settings. Preview allows live event producers to preview the live streaming content without creating any live output.
      Returns:
      the preview value.
    • withPreview

      public LiveEventProperties withPreview(LiveEventPreview preview)
      Set the preview property: Live event preview settings. Preview allows live event producers to preview the live streaming content without creating any live output.
      Parameters:
      preview - the preview value to set.
      Returns:
      the LiveEventProperties object itself.
    • encoding

      public LiveEventEncoding encoding()
      Get the encoding property: Encoding settings for the live event. It configures whether a live encoder is used for the live event and settings for the live encoder if it is used.
      Returns:
      the encoding value.
    • withEncoding

      public LiveEventProperties withEncoding(LiveEventEncoding encoding)
      Set the encoding property: Encoding settings for the live event. It configures whether a live encoder is used for the live event and settings for the live encoder if it is used.
      Parameters:
      encoding - the encoding value to set.
      Returns:
      the LiveEventProperties object itself.
    • transcriptions

      public List<LiveEventTranscription> transcriptions()
      Get the transcriptions property: Live transcription settings for the live event. See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature.
      Returns:
      the transcriptions value.
    • withTranscriptions

      public LiveEventProperties withTranscriptions(List<LiveEventTranscription> transcriptions)
      Set the transcriptions property: Live transcription settings for the live event. See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature.
      Parameters:
      transcriptions - the transcriptions value to set.
      Returns:
      the LiveEventProperties object itself.
    • provisioningState

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

      public LiveEventResourceState resourceState()
      Get the resourceState property: The resource state of the live event. See https://go.microsoft.com/fwlink/?linkid=2139012 for more information.
      Returns:
      the resourceState value.
    • crossSiteAccessPolicies

      public CrossSiteAccessPolicies crossSiteAccessPolicies()
      Get the crossSiteAccessPolicies property: Live event cross site access policies.
      Returns:
      the crossSiteAccessPolicies value.
    • withCrossSiteAccessPolicies

      public LiveEventProperties withCrossSiteAccessPolicies(CrossSiteAccessPolicies crossSiteAccessPolicies)
      Set the crossSiteAccessPolicies property: Live event cross site access policies.
      Parameters:
      crossSiteAccessPolicies - the crossSiteAccessPolicies value to set.
      Returns:
      the LiveEventProperties object itself.
    • useStaticHostname

      public Boolean useStaticHostname()
      Get the useStaticHostname property: Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints. This value can only be updated if the live event is in Standby state.
      Returns:
      the useStaticHostname value.
    • withUseStaticHostname

      public LiveEventProperties withUseStaticHostname(Boolean useStaticHostname)
      Set the useStaticHostname property: Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints. This value can only be updated if the live event is in Standby state.
      Parameters:
      useStaticHostname - the useStaticHostname value to set.
      Returns:
      the LiveEventProperties object itself.
    • hostnamePrefix

      public String hostnamePrefix()
      Get the hostnamePrefix property: When useStaticHostname is set to true, the hostnamePrefix specifies the first part of the hostname assigned to the live event preview and ingest endpoints. The final hostname would be a combination of this prefix, the media service account name and a short code for the Azure Media Services data center.
      Returns:
      the hostnamePrefix value.
    • withHostnamePrefix

      public LiveEventProperties withHostnamePrefix(String hostnamePrefix)
      Set the hostnamePrefix property: When useStaticHostname is set to true, the hostnamePrefix specifies the first part of the hostname assigned to the live event preview and ingest endpoints. The final hostname would be a combination of this prefix, the media service account name and a short code for the Azure Media Services data center.
      Parameters:
      hostnamePrefix - the hostnamePrefix value to set.
      Returns:
      the LiveEventProperties object itself.
    • streamOptions

      public List<StreamOptionsFlag> streamOptions()
      Get the streamOptions property: The options to use for the LiveEvent. This value is specified at creation time and cannot be updated. The valid values for the array entry values are 'Default' and 'LowLatency'.
      Returns:
      the streamOptions value.
    • withStreamOptions

      public LiveEventProperties withStreamOptions(List<StreamOptionsFlag> streamOptions)
      Set the streamOptions property: The options to use for the LiveEvent. This value is specified at creation time and cannot be updated. The valid values for the array entry values are 'Default' and 'LowLatency'.
      Parameters:
      streamOptions - the streamOptions value to set.
      Returns:
      the LiveEventProperties object itself.
    • created

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

      public OffsetDateTime lastModified()
      Get the lastModified property: The last modified time of the live event.
      Returns:
      the lastModified value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.