java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.mediaservices.fluent.models.LiveEventInner

public final class LiveEventInner extends com.azure.core.management.Resource
The live event.
  • Constructor Details

    • LiveEventInner

      public LiveEventInner()
      Creates an instance of LiveEventInner 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.
    • withLocation

      public LiveEventInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public LiveEventInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • description

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

      public LiveEventInner withDescription(String description)
      Set the description property: A description for the live event.
      Parameters:
      description - the description value to set.
      Returns:
      the LiveEventInner 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 LiveEventInner 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 LiveEventInner 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 LiveEventInner 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 LiveEventInner 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 LiveEventInner 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 LiveEventInner 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 LiveEventInner 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 LiveEventInner 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 LiveEventInner withCrossSiteAccessPolicies(CrossSiteAccessPolicies crossSiteAccessPolicies)
      Set the crossSiteAccessPolicies property: Live event cross site access policies.
      Parameters:
      crossSiteAccessPolicies - the crossSiteAccessPolicies value to set.
      Returns:
      the LiveEventInner 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 LiveEventInner 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 LiveEventInner 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 LiveEventInner 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 LiveEventInner 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 LiveEventInner 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 LiveEventInner 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.