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

com.pulumi.azurenative.streamanalytics.inputs.GatewayMessageBusStreamInputDataSourceArgs 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.streamanalytics.inputs;

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


/**
 * Describes a blob input data source that contains stream data.
 * 
 */
public final class GatewayMessageBusStreamInputDataSourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final GatewayMessageBusStreamInputDataSourceArgs Empty = new GatewayMessageBusStreamInputDataSourceArgs();

    /**
     * The name of the Service Bus topic.
     * 
     */
    @Import(name="topic")
    private @Nullable Output topic;

    /**
     * @return The name of the Service Bus topic.
     * 
     */
    public Optional> topic() {
        return Optional.ofNullable(this.topic);
    }

    /**
     * Indicates the type of input data source containing stream data. Required on PUT (CreateOrReplace) requests.
     * Expected value is 'GatewayMessageBus'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Indicates the type of input data source containing stream data. Required on PUT (CreateOrReplace) requests.
     * Expected value is 'GatewayMessageBus'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private GatewayMessageBusStreamInputDataSourceArgs() {}

    private GatewayMessageBusStreamInputDataSourceArgs(GatewayMessageBusStreamInputDataSourceArgs $) {
        this.topic = $.topic;
        this.type = $.type;
    }

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

    public static final class Builder {
        private GatewayMessageBusStreamInputDataSourceArgs $;

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

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

        /**
         * @param topic The name of the Service Bus topic.
         * 
         * @return builder
         * 
         */
        public Builder topic(@Nullable Output topic) {
            $.topic = topic;
            return this;
        }

        /**
         * @param topic The name of the Service Bus topic.
         * 
         * @return builder
         * 
         */
        public Builder topic(String topic) {
            return topic(Output.of(topic));
        }

        /**
         * @param type Indicates the type of input data source containing stream data. Required on PUT (CreateOrReplace) requests.
         * Expected value is 'GatewayMessageBus'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Indicates the type of input data source containing stream data. Required on PUT (CreateOrReplace) requests.
         * Expected value is 'GatewayMessageBus'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public GatewayMessageBusStreamInputDataSourceArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy