Class LiveEventProperties
java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.LiveEventProperties
The live event properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreated()
Get the created property: The creation time for the live event.Get the crossSiteAccessPolicies property: Live event cross site access policies.Get the description property: A description for the live event.encoding()
Get the encoding property: Encoding settings for the live event.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.input()
Get the input property: Live event input settings.Get the lastModified property: The last modified time of the live event.preview()
Get the preview property: Live event preview settings.Get the provisioningState property: The provisioning state of the live event.Get the resourceState property: The resource state of the live event.Get the streamOptions property: The options to use for the LiveEvent.Get the transcriptions property: Live transcription settings for the live event.Get the useStaticHostname property: Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints.void
validate()
Validates the instance.withCrossSiteAccessPolicies
(CrossSiteAccessPolicies crossSiteAccessPolicies) Set the crossSiteAccessPolicies property: Live event cross site access policies.withDescription
(String description) Set the description property: A description for the live event.withEncoding
(LiveEventEncoding encoding) Set the encoding property: Encoding settings for the live event.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.withInput
(LiveEventInput input) Set the input property: Live event input settings.withPreview
(LiveEventPreview preview) Set the preview property: Live event preview settings.withStreamOptions
(List<StreamOptionsFlag> streamOptions) Set the streamOptions property: The options to use for the LiveEvent.withTranscriptions
(List<LiveEventTranscription> transcriptions) Set the transcriptions property: Live transcription settings for the live event.withUseStaticHostname
(Boolean useStaticHostname) Set the useStaticHostname property: Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints.
-
Constructor Details
-
LiveEventProperties
public LiveEventProperties()Creates an instance of LiveEventProperties class.
-
-
Method Details
-
description
Get the description property: A description for the live event.- Returns:
- the description value.
-
withDescription
Set the description property: A description for the live event.- Parameters:
description
- the description value to set.- Returns:
- the LiveEventProperties object itself.
-
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
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
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
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
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
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
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
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
Get the provisioningState property: The provisioning state of the live event.- Returns:
- the provisioningState value.
-
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
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
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
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
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
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
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
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
Get the created property: The creation time for the live event.- Returns:
- the created value.
-
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.
-