Class LiveEventPreview
java.lang.Object
com.azure.resourcemanager.mediaservices.models.LiveEventPreview
Live event preview settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accessControl property: The access control for live event preview.Get the alternativeMediaId property: An alternative media identifier associated with the streaming locator created for the preview.Get the endpoints property: The endpoints for preview.Get the previewLocator property: The identifier of the preview locator in Guid format.Get the streamingPolicyName property: The name of streaming policy used for the live event preview.void
validate()
Validates the instance.withAccessControl
(LiveEventPreviewAccessControl accessControl) Set the accessControl property: The access control for live event preview.withAlternativeMediaId
(String alternativeMediaId) Set the alternativeMediaId property: An alternative media identifier associated with the streaming locator created for the preview.withEndpoints
(List<LiveEventEndpoint> endpoints) Set the endpoints property: The endpoints for preview.withPreviewLocator
(String previewLocator) Set the previewLocator property: The identifier of the preview locator in Guid format.withStreamingPolicyName
(String streamingPolicyName) Set the streamingPolicyName property: The name of streaming policy used for the live event preview.
-
Constructor Details
-
LiveEventPreview
public LiveEventPreview()Creates an instance of LiveEventPreview class.
-
-
Method Details
-
endpoints
Get the endpoints property: The endpoints for preview. Do not share the preview URL with the live event audience.- Returns:
- the endpoints value.
-
withEndpoints
Set the endpoints property: The endpoints for preview. Do not share the preview URL with the live event audience.- Parameters:
endpoints
- the endpoints value to set.- Returns:
- the LiveEventPreview object itself.
-
accessControl
Get the accessControl property: The access control for live event preview.- Returns:
- the accessControl value.
-
withAccessControl
Set the accessControl property: The access control for live event preview.- Parameters:
accessControl
- the accessControl value to set.- Returns:
- the LiveEventPreview object itself.
-
previewLocator
Get the previewLocator property: The identifier of the preview locator in Guid format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. This value cannot be updated once the live event is created.- Returns:
- the previewLocator value.
-
withPreviewLocator
Set the previewLocator property: The identifier of the preview locator in Guid format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. This value cannot be updated once the live event is created.- Parameters:
previewLocator
- the previewLocator value to set.- Returns:
- the LiveEventPreview object itself.
-
streamingPolicyName
Get the streamingPolicyName property: The name of streaming policy used for the live event preview. This value is specified at creation time and cannot be updated.- Returns:
- the streamingPolicyName value.
-
withStreamingPolicyName
Set the streamingPolicyName property: The name of streaming policy used for the live event preview. This value is specified at creation time and cannot be updated.- Parameters:
streamingPolicyName
- the streamingPolicyName value to set.- Returns:
- the LiveEventPreview object itself.
-
alternativeMediaId
Get the alternativeMediaId property: An alternative media identifier associated with the streaming locator created for the preview. This value is specified at creation time and cannot be updated. The identifier can be used in the CustomLicenseAcquisitionUrlTemplate or the CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the StreamingPolicyName field.- Returns:
- the alternativeMediaId value.
-
withAlternativeMediaId
Set the alternativeMediaId property: An alternative media identifier associated with the streaming locator created for the preview. This value is specified at creation time and cannot be updated. The identifier can be used in the CustomLicenseAcquisitionUrlTemplate or the CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the StreamingPolicyName field.- Parameters:
alternativeMediaId
- the alternativeMediaId value to set.- Returns:
- the LiveEventPreview object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-