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

com.pulumi.aws.appflow.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeArgs Maven / Gradle / Ivy

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

import com.pulumi.aws.appflow.inputs.FlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final FlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeArgs Empty = new FlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeArgs();

    @Import(name="errorHandlingConfig")
    private @Nullable Output errorHandlingConfig;

    public Optional> errorHandlingConfig() {
        return Optional.ofNullable(this.errorHandlingConfig);
    }

    @Import(name="object", required=true)
    private Output object;

    public Output object() {
        return this.object;
    }

    private FlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeArgs() {}

    private FlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeArgs(FlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeArgs $) {
        this.errorHandlingConfig = $.errorHandlingConfig;
        this.object = $.object;
    }

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

    public static final class Builder {
        private FlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeArgs $;

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

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

        public Builder errorHandlingConfig(@Nullable Output errorHandlingConfig) {
            $.errorHandlingConfig = errorHandlingConfig;
            return this;
        }

        public Builder errorHandlingConfig(FlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigArgs errorHandlingConfig) {
            return errorHandlingConfig(Output.of(errorHandlingConfig));
        }

        public Builder object(Output object) {
            $.object = object;
            return this;
        }

        public Builder object(String object) {
            return object(Output.of(object));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy