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

com.pulumi.aws.appflow.inputs.FlowSourceFlowConfigSourceConnectorPropertiesCustomConnectorArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final FlowSourceFlowConfigSourceConnectorPropertiesCustomConnectorArgs Empty = new FlowSourceFlowConfigSourceConnectorPropertiesCustomConnectorArgs();

    @Import(name="customProperties")
    private @Nullable Output> customProperties;

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

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

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

    private FlowSourceFlowConfigSourceConnectorPropertiesCustomConnectorArgs() {}

    private FlowSourceFlowConfigSourceConnectorPropertiesCustomConnectorArgs(FlowSourceFlowConfigSourceConnectorPropertiesCustomConnectorArgs $) {
        this.customProperties = $.customProperties;
        this.entityName = $.entityName;
    }

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

    public static final class Builder {
        private FlowSourceFlowConfigSourceConnectorPropertiesCustomConnectorArgs $;

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

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

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

        public Builder customProperties(Map customProperties) {
            return customProperties(Output.of(customProperties));
        }

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy