LiveEventInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. mediaservices. fluent. models. LiveEventInner
- com.
- com.
- com.
public final class LiveEventInner
extends Resource
The live event.
Constructor Summary
Constructor | Description |
---|---|
LiveEventInner() |
Creates an instance of Live |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
created()
Get the created property: The creation time for the live event. |
Cross |
crossSiteAccessPolicies()
Get the cross |
String |
description()
Get the description property: A description for the live event. |
Live |
encoding()
Get the encoding property: Encoding settings for the live event. |
String |
hostnamePrefix()
Get the hostname |
Live |
input()
Get the input property: Live event input settings. |
Offset |
lastModified()
Get the last |
Live |
preview()
Get the preview property: Live event preview settings. |
String |
provisioningState()
Get the provisioning |
Live |
resourceState()
Get the resource |
List<Stream |
streamOptions()
Get the stream |
System |
systemData()
Get the system |
List<Live |
transcriptions()
Get the transcriptions property: Live transcription settings for the live event. |
Boolean |
useStaticHostname()
Get the use |
void |
validate()
Validates the instance. |
Live |
withCrossSiteAccessPolicies(CrossSiteAccessPolicies crossSiteAccessPolicies)
Set the cross |
Live |
withDescription(String description)
Set the description property: A description for the live event. |
Live |
withEncoding(LiveEventEncoding encoding)
Set the encoding property: Encoding settings for the live event. |
Live |
withHostnamePrefix(String hostnamePrefix)
Set the hostname |
Live |
withInput(LiveEventInput input)
Set the input property: Live event input settings. |
Live |
withLocation(String location) |
Live |
withPreview(LiveEventPreview preview)
Set the preview property: Live event preview settings. |
Live |
withStreamOptions(List<StreamOptionsFlag> streamOptions)
Set the stream |
Live |
withTags(Map<String,String> tags) |
Live |
withTranscriptions(List<LiveEventTranscription> transcriptions)
Set the transcriptions property: Live transcription settings for the live event. |
Live |
withUseStaticHostname(Boolean useStaticHostname)
Set the use |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
LiveEventInner
public LiveEventInner()
Creates an instance of LiveEventInner class.
Method Details
created
public OffsetDateTime created()
Get the created property: The creation time for the live event.
Returns:
crossSiteAccessPolicies
public CrossSiteAccessPolicies crossSiteAccessPolicies()
Get the crossSiteAccessPolicies property: Live event cross site access policies.
Returns:
description
public String description()
Get the description property: A description for the live event.
Returns:
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:
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:
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:
lastModified
public OffsetDateTime lastModified()
Get the lastModified property: The last modified time of the live event.
Returns:
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:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning state of the live event.
Returns:
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:
streamOptions
public List
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:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to this resource.
Returns:
transcriptions
public List
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:
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:
validate
public void validate()
Validates the instance.
withCrossSiteAccessPolicies
public LiveEventInner withCrossSiteAccessPolicies(CrossSiteAccessPolicies crossSiteAccessPolicies)
Set the crossSiteAccessPolicies property: Live event cross site access policies.
Parameters:
Returns:
withDescription
public LiveEventInner withDescription(String description)
Set the description property: A description for the live event.
Parameters:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
withLocation
public LiveEventInner withLocation(String location)
Overrides:
LiveEventInner.withLocation(String location)Parameters:
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:
Returns:
withStreamOptions
public LiveEventInner withStreamOptions(List
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:
Returns:
withTags
public LiveEventInner withTags(Map
Overrides:
LiveEventInner.withTags(Map<String,String> tags)Parameters:
withTranscriptions
public LiveEventInner withTranscriptions(List
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for