// *** 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 java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesSalesforceArgs Empty = new ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesSalesforceArgs();

    /**
     * The location of the Datadog resource.
     * 
     */
    @Import(name="instanceUrl")
    private @Nullable Output<String> instanceUrl;

    /**
     * @return The location of the Datadog resource.
     * 
     */
    public Optional<Output<String>> instanceUrl() {
        return Optional.ofNullable(this.instanceUrl);
    }

    /**
     * Indicates whether the connector profile applies to a sandbox or production environment.
     * 
     */
    @Import(name="isSandboxEnvironment")
    private @Nullable Output<Boolean> isSandboxEnvironment;

    /**
     * @return Indicates whether the connector profile applies to a sandbox or production environment.
     * 
     */
    public Optional<Output<Boolean>> isSandboxEnvironment() {
        return Optional.ofNullable(this.isSandboxEnvironment);
    }

    private ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesSalesforceArgs() {}

    private ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesSalesforceArgs(ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesSalesforceArgs $) {
        this.instanceUrl = $.instanceUrl;
        this.isSandboxEnvironment = $.isSandboxEnvironment;
    }

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

    public static final class Builder {
        private ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesSalesforceArgs $;

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

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

        /**
         * @param instanceUrl The location of the Datadog resource.
         * 
         * @return builder
         * 
         */
        public Builder instanceUrl(@Nullable Output<String> instanceUrl) {
            $.instanceUrl = instanceUrl;
            return this;
        }

        /**
         * @param instanceUrl The location of the Datadog resource.
         * 
         * @return builder
         * 
         */
        public Builder instanceUrl(String instanceUrl) {
            return instanceUrl(Output.of(instanceUrl));
        }

        /**
         * @param isSandboxEnvironment Indicates whether the connector profile applies to a sandbox or production environment.
         * 
         * @return builder
         * 
         */
        public Builder isSandboxEnvironment(@Nullable Output<Boolean> isSandboxEnvironment) {
            $.isSandboxEnvironment = isSandboxEnvironment;
            return this;
        }

        /**
         * @param isSandboxEnvironment Indicates whether the connector profile applies to a sandbox or production environment.
         * 
         * @return builder
         * 
         */
        public Builder isSandboxEnvironment(Boolean isSandboxEnvironment) {
            return isSandboxEnvironment(Output.of(isSandboxEnvironment));
        }

        public ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesSalesforceArgs build() {
            return $;
        }
    }

}
