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

com.pulumi.aws.appflow.outputs.FlowSourceFlowConfigSourceConnectorPropertiesSalesforce Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class FlowSourceFlowConfigSourceConnectorPropertiesSalesforce {
    /**
     * @return Flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
     * 
     */
    private @Nullable Boolean enableDynamicFieldUpdate;
    /**
     * @return Whether Amazon AppFlow includes deleted files in the flow run.
     * 
     */
    private @Nullable Boolean includeDeletedRecords;
    private String object;

    private FlowSourceFlowConfigSourceConnectorPropertiesSalesforce() {}
    /**
     * @return Flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
     * 
     */
    public Optional enableDynamicFieldUpdate() {
        return Optional.ofNullable(this.enableDynamicFieldUpdate);
    }
    /**
     * @return Whether Amazon AppFlow includes deleted files in the flow run.
     * 
     */
    public Optional includeDeletedRecords() {
        return Optional.ofNullable(this.includeDeletedRecords);
    }
    public String object() {
        return this.object;
    }

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

    public static Builder builder(FlowSourceFlowConfigSourceConnectorPropertiesSalesforce defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean enableDynamicFieldUpdate;
        private @Nullable Boolean includeDeletedRecords;
        private String object;
        public Builder() {}
        public Builder(FlowSourceFlowConfigSourceConnectorPropertiesSalesforce defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.enableDynamicFieldUpdate = defaults.enableDynamicFieldUpdate;
    	      this.includeDeletedRecords = defaults.includeDeletedRecords;
    	      this.object = defaults.object;
        }

        @CustomType.Setter
        public Builder enableDynamicFieldUpdate(@Nullable Boolean enableDynamicFieldUpdate) {

            this.enableDynamicFieldUpdate = enableDynamicFieldUpdate;
            return this;
        }
        @CustomType.Setter
        public Builder includeDeletedRecords(@Nullable Boolean includeDeletedRecords) {

            this.includeDeletedRecords = includeDeletedRecords;
            return this;
        }
        @CustomType.Setter
        public Builder object(String object) {
            if (object == null) {
              throw new MissingRequiredPropertyException("FlowSourceFlowConfigSourceConnectorPropertiesSalesforce", "object");
            }
            this.object = object;
            return this;
        }
        public FlowSourceFlowConfigSourceConnectorPropertiesSalesforce build() {
            final var _resultValue = new FlowSourceFlowConfigSourceConnectorPropertiesSalesforce();
            _resultValue.enableDynamicFieldUpdate = enableDynamicFieldUpdate;
            _resultValue.includeDeletedRecords = includeDeletedRecords;
            _resultValue.object = object;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy