Class LiveEventInput
java.lang.Object
com.azure.resourcemanager.mediaservices.models.LiveEventInput
The live event input.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accessControl property: Access control for live event input.Get the accessToken property: A UUID in string form to uniquely identify the stream.Get the endpoints property: The input endpoints for the live event.Get the keyFrameIntervalDuration property: ISO 8601 time duration of the key frame interval duration of the input.Get the streamingProtocol property: The input protocol for the live event.Get the timedMetadataEndpoints property: The metadata endpoints for the live event.void
validate()
Validates the instance.withAccessControl
(LiveEventInputAccessControl accessControl) Set the accessControl property: Access control for live event input.withAccessToken
(String accessToken) Set the accessToken property: A UUID in string form to uniquely identify the stream.withEndpoints
(List<LiveEventEndpoint> endpoints) Set the endpoints property: The input endpoints for the live event.withKeyFrameIntervalDuration
(String keyFrameIntervalDuration) Set the keyFrameIntervalDuration property: ISO 8601 time duration of the key frame interval duration of the input.withStreamingProtocol
(LiveEventInputProtocol streamingProtocol) Set the streamingProtocol property: The input protocol for the live event.withTimedMetadataEndpoints
(List<LiveEventTimedMetadataEndpoint> timedMetadataEndpoints) Set the timedMetadataEndpoints property: The metadata endpoints for the live event.
-
Constructor Details
-
LiveEventInput
public LiveEventInput()Creates an instance of LiveEventInput class.
-
-
Method Details
-
streamingProtocol
Get the streamingProtocol property: The input protocol for the live event. This is specified at creation time and cannot be updated.- Returns:
- the streamingProtocol value.
-
withStreamingProtocol
Set the streamingProtocol property: The input protocol for the live event. This is specified at creation time and cannot be updated.- Parameters:
streamingProtocol
- the streamingProtocol value to set.- Returns:
- the LiveEventInput object itself.
-
accessControl
Get the accessControl property: Access control for live event input.- Returns:
- the accessControl value.
-
withAccessControl
Set the accessControl property: Access control for live event input.- Parameters:
accessControl
- the accessControl value to set.- Returns:
- the LiveEventInput object itself.
-
keyFrameIntervalDuration
Get the keyFrameIntervalDuration property: ISO 8601 time duration of the key frame interval duration of the input. This value sets the EXT-X-TARGETDURATION property in the HLS output. For example, use PT2S to indicate 2 seconds. Leave the value empty for encoding live events.- Returns:
- the keyFrameIntervalDuration value.
-
withKeyFrameIntervalDuration
Set the keyFrameIntervalDuration property: ISO 8601 time duration of the key frame interval duration of the input. This value sets the EXT-X-TARGETDURATION property in the HLS output. For example, use PT2S to indicate 2 seconds. Leave the value empty for encoding live events.- Parameters:
keyFrameIntervalDuration
- the keyFrameIntervalDuration value to set.- Returns:
- the LiveEventInput object itself.
-
accessToken
Get the accessToken property: A UUID in string form to uniquely identify the stream. This can be specified at creation time but cannot be updated. If omitted, the service will generate a unique value.- Returns:
- the accessToken value.
-
withAccessToken
Set the accessToken property: A UUID in string form to uniquely identify the stream. This can be specified at creation time but cannot be updated. If omitted, the service will generate a unique value.- Parameters:
accessToken
- the accessToken value to set.- Returns:
- the LiveEventInput object itself.
-
endpoints
Get the endpoints property: The input endpoints for the live event.- Returns:
- the endpoints value.
-
withEndpoints
Set the endpoints property: The input endpoints for the live event.- Parameters:
endpoints
- the endpoints value to set.- Returns:
- the LiveEventInput object itself.
-
timedMetadataEndpoints
Get the timedMetadataEndpoints property: The metadata endpoints for the live event.- Returns:
- the timedMetadataEndpoints value.
-
withTimedMetadataEndpoints
public LiveEventInput withTimedMetadataEndpoints(List<LiveEventTimedMetadataEndpoint> timedMetadataEndpoints) Set the timedMetadataEndpoints property: The metadata endpoints for the live event.- Parameters:
timedMetadataEndpoints
- the timedMetadataEndpoints value to set.- Returns:
- the LiveEventInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-