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

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

@CustomType
public final class DataSourceEventBridgeConfig {
    /**
     * @return ARN for the EventBridge bus.
     * 
     */
    private String eventBusArn;

    private DataSourceEventBridgeConfig() {}
    /**
     * @return ARN for the EventBridge bus.
     * 
     */
    public String eventBusArn() {
        return this.eventBusArn;
    }

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

    public static Builder builder(DataSourceEventBridgeConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String eventBusArn;
        public Builder() {}
        public Builder(DataSourceEventBridgeConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.eventBusArn = defaults.eventBusArn;
        }

        @CustomType.Setter
        public Builder eventBusArn(String eventBusArn) {
            this.eventBusArn = Objects.requireNonNull(eventBusArn);
            return this;
        }
        public DataSourceEventBridgeConfig build() {
            final var o = new DataSourceEventBridgeConfig();
            o.eventBusArn = eventBusArn;
            return o;
        }
    }
}
