All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.videoanalyzer.outputs.VideoContentUrlsResponse Maven / Gradle / Ivy

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.videoanalyzer.outputs;

import com.pulumi.azurenative.videoanalyzer.outputs.VideoPreviewImageUrlsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class VideoContentUrlsResponse {
    /**
     * @return Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:
     * 
     *     - HLSv4:     /manifest(format=m3u8-aapl).m3u8
     *     - HLS CMAF:  /manifest(format=m3u8-cmaf)
     *     - DASH CMAF: /manifest(format=mpd-time-cmaf)
     *     
     *     Moreover, an ongoing video recording can be played in "live mode" with latencies which are approximately double of the chosen video segment length. It is available when the video type is 'archive' and video archiving is enabled.
     * 
     */
    private @Nullable String archiveBaseUrl;
    /**
     * @return Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is 'file' and video file is available for consumption.
     * 
     */
    private @Nullable String downloadUrl;
    /**
     * @return Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is 'archive' and preview images are enabled.
     * 
     */
    private @Nullable VideoPreviewImageUrlsResponse previewImageUrls;
    /**
     * @return Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is 'archive' and a live, low-latency feed is available from the source.
     * 
     */
    private @Nullable String rtspTunnelUrl;

    private VideoContentUrlsResponse() {}
    /**
     * @return Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:
     * 
     *     - HLSv4:     /manifest(format=m3u8-aapl).m3u8
     *     - HLS CMAF:  /manifest(format=m3u8-cmaf)
     *     - DASH CMAF: /manifest(format=mpd-time-cmaf)
     *     
     *     Moreover, an ongoing video recording can be played in "live mode" with latencies which are approximately double of the chosen video segment length. It is available when the video type is 'archive' and video archiving is enabled.
     * 
     */
    public Optional archiveBaseUrl() {
        return Optional.ofNullable(this.archiveBaseUrl);
    }
    /**
     * @return Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is 'file' and video file is available for consumption.
     * 
     */
    public Optional downloadUrl() {
        return Optional.ofNullable(this.downloadUrl);
    }
    /**
     * @return Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is 'archive' and preview images are enabled.
     * 
     */
    public Optional previewImageUrls() {
        return Optional.ofNullable(this.previewImageUrls);
    }
    /**
     * @return Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is 'archive' and a live, low-latency feed is available from the source.
     * 
     */
    public Optional rtspTunnelUrl() {
        return Optional.ofNullable(this.rtspTunnelUrl);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(VideoContentUrlsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String archiveBaseUrl;
        private @Nullable String downloadUrl;
        private @Nullable VideoPreviewImageUrlsResponse previewImageUrls;
        private @Nullable String rtspTunnelUrl;
        public Builder() {}
        public Builder(VideoContentUrlsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.archiveBaseUrl = defaults.archiveBaseUrl;
    	      this.downloadUrl = defaults.downloadUrl;
    	      this.previewImageUrls = defaults.previewImageUrls;
    	      this.rtspTunnelUrl = defaults.rtspTunnelUrl;
        }

        @CustomType.Setter
        public Builder archiveBaseUrl(@Nullable String archiveBaseUrl) {

            this.archiveBaseUrl = archiveBaseUrl;
            return this;
        }
        @CustomType.Setter
        public Builder downloadUrl(@Nullable String downloadUrl) {

            this.downloadUrl = downloadUrl;
            return this;
        }
        @CustomType.Setter
        public Builder previewImageUrls(@Nullable VideoPreviewImageUrlsResponse previewImageUrls) {

            this.previewImageUrls = previewImageUrls;
            return this;
        }
        @CustomType.Setter
        public Builder rtspTunnelUrl(@Nullable String rtspTunnelUrl) {

            this.rtspTunnelUrl = rtspTunnelUrl;
            return this;
        }
        public VideoContentUrlsResponse build() {
            final var _resultValue = new VideoContentUrlsResponse();
            _resultValue.archiveBaseUrl = archiveBaseUrl;
            _resultValue.downloadUrl = downloadUrl;
            _resultValue.previewImageUrls = previewImageUrls;
            _resultValue.rtspTunnelUrl = rtspTunnelUrl;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy