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

com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

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.aws.medialive.inputs;

import com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsDestinationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsArgs Empty = new ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsArgs();

    /**
     * Setting to allow self signed or verified RTMP certificates.
     * 
     */
    @Import(name="certificateMode")
    private @Nullable Output certificateMode;

    /**
     * @return Setting to allow self signed or verified RTMP certificates.
     * 
     */
    public Optional> certificateMode() {
        return Optional.ofNullable(this.certificateMode);
    }

    /**
     * Number of seconds to wait before retrying connection to the flash media server if the connection is lost.
     * 
     */
    @Import(name="connectionRetryInterval")
    private @Nullable Output connectionRetryInterval;

    /**
     * @return Number of seconds to wait before retrying connection to the flash media server if the connection is lost.
     * 
     */
    public Optional> connectionRetryInterval() {
        return Optional.ofNullable(this.connectionRetryInterval);
    }

    /**
     * The RTMP endpoint excluding the stream name. See Destination for more details.
     * 
     */
    @Import(name="destination", required=true)
    private Output destination;

    /**
     * @return The RTMP endpoint excluding the stream name. See Destination for more details.
     * 
     */
    public Output destination() {
        return this.destination;
    }

    /**
     * Number of retry attempts.
     * 
     */
    @Import(name="numRetries")
    private @Nullable Output numRetries;

    /**
     * @return Number of retry attempts.
     * 
     */
    public Optional> numRetries() {
        return Optional.ofNullable(this.numRetries);
    }

    private ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsArgs() {}

    private ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsArgs(ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsArgs $) {
        this.certificateMode = $.certificateMode;
        this.connectionRetryInterval = $.connectionRetryInterval;
        this.destination = $.destination;
        this.numRetries = $.numRetries;
    }

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

    public static final class Builder {
        private ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsArgs $;

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

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

        /**
         * @param certificateMode Setting to allow self signed or verified RTMP certificates.
         * 
         * @return builder
         * 
         */
        public Builder certificateMode(@Nullable Output certificateMode) {
            $.certificateMode = certificateMode;
            return this;
        }

        /**
         * @param certificateMode Setting to allow self signed or verified RTMP certificates.
         * 
         * @return builder
         * 
         */
        public Builder certificateMode(String certificateMode) {
            return certificateMode(Output.of(certificateMode));
        }

        /**
         * @param connectionRetryInterval Number of seconds to wait before retrying connection to the flash media server if the connection is lost.
         * 
         * @return builder
         * 
         */
        public Builder connectionRetryInterval(@Nullable Output connectionRetryInterval) {
            $.connectionRetryInterval = connectionRetryInterval;
            return this;
        }

        /**
         * @param connectionRetryInterval Number of seconds to wait before retrying connection to the flash media server if the connection is lost.
         * 
         * @return builder
         * 
         */
        public Builder connectionRetryInterval(Integer connectionRetryInterval) {
            return connectionRetryInterval(Output.of(connectionRetryInterval));
        }

        /**
         * @param destination The RTMP endpoint excluding the stream name. See Destination for more details.
         * 
         * @return builder
         * 
         */
        public Builder destination(Output destination) {
            $.destination = destination;
            return this;
        }

        /**
         * @param destination The RTMP endpoint excluding the stream name. See Destination for more details.
         * 
         * @return builder
         * 
         */
        public Builder destination(ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsDestinationArgs destination) {
            return destination(Output.of(destination));
        }

        /**
         * @param numRetries Number of retry attempts.
         * 
         * @return builder
         * 
         */
        public Builder numRetries(@Nullable Output numRetries) {
            $.numRetries = numRetries;
            return this;
        }

        /**
         * @param numRetries Number of retry attempts.
         * 
         * @return builder
         * 
         */
        public Builder numRetries(Integer numRetries) {
            return numRetries(Output.of(numRetries));
        }

        public ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsArgs build() {
            if ($.destination == null) {
                throw new MissingRequiredPropertyException("ChannelEncoderSettingsOutputGroupOutputOutputSettingsRtmpOutputSettingsArgs", "destination");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy