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

com.pulumi.azurenative.streamanalytics.inputs.GatewayMessageBusOutputDataSourceArgs 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.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 Gateway Message Bus output data source.
 * 
 */
public final class GatewayMessageBusOutputDataSourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final GatewayMessageBusOutputDataSourceArgs Empty = new GatewayMessageBusOutputDataSourceArgs();

    /**
     * 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 data source output will be written to. Required on PUT (CreateOrReplace) requests.
     * Expected value is 'GatewayMessageBus'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
     * Expected value is 'GatewayMessageBus'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private GatewayMessageBusOutputDataSourceArgs() {}

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

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

    public static final class Builder {
        private GatewayMessageBusOutputDataSourceArgs $;

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

        public Builder(GatewayMessageBusOutputDataSourceArgs defaults) {
            $ = new GatewayMessageBusOutputDataSourceArgs(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 data source output will be written to. 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 data source output will be written to. Required on PUT (CreateOrReplace) requests.
         * Expected value is 'GatewayMessageBus'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy