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

com.pulumi.azurenative.videoanalyzer.inputs.VideoPublishingOptionsArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Optional flags used to change how video is published. These are only allowed for topologies where "kind" is set to "live".
 * 
 */
public final class VideoPublishingOptionsArgs extends com.pulumi.resources.ResourceArgs {

    public static final VideoPublishingOptionsArgs Empty = new VideoPublishingOptionsArgs();

    /**
     * When set to 'true' content will not be archived or recorded. This is used, for example, when the topology is used only for low latency video streaming. Default is 'false'.  If set to 'true', then "disableRtspPublishing" must be set to 'false'.
     * 
     */
    @Import(name="disableArchive")
    private @Nullable Output disableArchive;

    /**
     * @return When set to 'true' content will not be archived or recorded. This is used, for example, when the topology is used only for low latency video streaming. Default is 'false'.  If set to 'true', then "disableRtspPublishing" must be set to 'false'.
     * 
     */
    public Optional> disableArchive() {
        return Optional.ofNullable(this.disableArchive);
    }

    /**
     * When set to 'true' the RTSP playback URL will not be published, disabling low latency streaming. This is used, for example, when the topology is used only for archiving content. Default is 'false'.  If set to 'true', then "disableArchive" must be set to 'false'.
     * 
     */
    @Import(name="disableRtspPublishing")
    private @Nullable Output disableRtspPublishing;

    /**
     * @return When set to 'true' the RTSP playback URL will not be published, disabling low latency streaming. This is used, for example, when the topology is used only for archiving content. Default is 'false'.  If set to 'true', then "disableArchive" must be set to 'false'.
     * 
     */
    public Optional> disableRtspPublishing() {
        return Optional.ofNullable(this.disableRtspPublishing);
    }

    private VideoPublishingOptionsArgs() {}

    private VideoPublishingOptionsArgs(VideoPublishingOptionsArgs $) {
        this.disableArchive = $.disableArchive;
        this.disableRtspPublishing = $.disableRtspPublishing;
    }

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

    public static final class Builder {
        private VideoPublishingOptionsArgs $;

        public Builder() {
            $ = new VideoPublishingOptionsArgs();
        }

        public Builder(VideoPublishingOptionsArgs defaults) {
            $ = new VideoPublishingOptionsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param disableArchive When set to 'true' content will not be archived or recorded. This is used, for example, when the topology is used only for low latency video streaming. Default is 'false'.  If set to 'true', then "disableRtspPublishing" must be set to 'false'.
         * 
         * @return builder
         * 
         */
        public Builder disableArchive(@Nullable Output disableArchive) {
            $.disableArchive = disableArchive;
            return this;
        }

        /**
         * @param disableArchive When set to 'true' content will not be archived or recorded. This is used, for example, when the topology is used only for low latency video streaming. Default is 'false'.  If set to 'true', then "disableRtspPublishing" must be set to 'false'.
         * 
         * @return builder
         * 
         */
        public Builder disableArchive(String disableArchive) {
            return disableArchive(Output.of(disableArchive));
        }

        /**
         * @param disableRtspPublishing When set to 'true' the RTSP playback URL will not be published, disabling low latency streaming. This is used, for example, when the topology is used only for archiving content. Default is 'false'.  If set to 'true', then "disableArchive" must be set to 'false'.
         * 
         * @return builder
         * 
         */
        public Builder disableRtspPublishing(@Nullable Output disableRtspPublishing) {
            $.disableRtspPublishing = disableRtspPublishing;
            return this;
        }

        /**
         * @param disableRtspPublishing When set to 'true' the RTSP playback URL will not be published, disabling low latency streaming. This is used, for example, when the topology is used only for archiving content. Default is 'false'.  If set to 'true', then "disableArchive" must be set to 'false'.
         * 
         * @return builder
         * 
         */
        public Builder disableRtspPublishing(String disableRtspPublishing) {
            return disableRtspPublishing(Output.of(disableRtspPublishing));
        }

        public VideoPublishingOptionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy