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

com.pulumi.aws.medialive.inputs.InputDestinationArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final InputDestinationArgs Empty = new InputDestinationArgs();

    /**
     * A unique name for the location the RTMP stream is being pushed to.
     * 
     */
    @Import(name="streamName", required=true)
    private Output streamName;

    /**
     * @return A unique name for the location the RTMP stream is being pushed to.
     * 
     */
    public Output streamName() {
        return this.streamName;
    }

    private InputDestinationArgs() {}

    private InputDestinationArgs(InputDestinationArgs $) {
        this.streamName = $.streamName;
    }

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

    public static final class Builder {
        private InputDestinationArgs $;

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

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

        /**
         * @param streamName A unique name for the location the RTMP stream is being pushed to.
         * 
         * @return builder
         * 
         */
        public Builder streamName(Output streamName) {
            $.streamName = streamName;
            return this;
        }

        /**
         * @param streamName A unique name for the location the RTMP stream is being pushed to.
         * 
         * @return builder
         * 
         */
        public Builder streamName(String streamName) {
            return streamName(Output.of(streamName));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy