// *** 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.appsync.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final DataSourceEventBridgeConfigArgs Empty = new DataSourceEventBridgeConfigArgs();

    /**
     * ARN for the EventBridge bus.
     * 
     */
    @Import(name="eventBusArn", required=true)
    private Output<String> eventBusArn;

    /**
     * @return ARN for the EventBridge bus.
     * 
     */
    public Output<String> eventBusArn() {
        return this.eventBusArn;
    }

    private DataSourceEventBridgeConfigArgs() {}

    private DataSourceEventBridgeConfigArgs(DataSourceEventBridgeConfigArgs $) {
        this.eventBusArn = $.eventBusArn;
    }

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

    public static final class Builder {
        private DataSourceEventBridgeConfigArgs $;

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

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

        /**
         * @param eventBusArn ARN for the EventBridge bus.
         * 
         * @return builder
         * 
         */
        public Builder eventBusArn(Output<String> eventBusArn) {
            $.eventBusArn = eventBusArn;
            return this;
        }

        /**
         * @param eventBusArn ARN for the EventBridge bus.
         * 
         * @return builder
         * 
         */
        public Builder eventBusArn(String eventBusArn) {
            return eventBusArn(Output.of(eventBusArn));
        }

        public DataSourceEventBridgeConfigArgs build() {
            $.eventBusArn = Objects.requireNonNull($.eventBusArn, "expected parameter 'eventBusArn' to be non-null");
            return $;
        }
    }

}
