com.pulumi.aws.appflow.outputs.FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforce Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.aws.appflow.outputs.FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforceErrorHandlingConfig;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforce {
private @Nullable FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforceErrorHandlingConfig errorHandlingConfig;
private @Nullable List idFieldNames;
private String object;
private @Nullable String writeOperationType;
private FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforce() {}
public Optional errorHandlingConfig() {
return Optional.ofNullable(this.errorHandlingConfig);
}
public List idFieldNames() {
return this.idFieldNames == null ? List.of() : this.idFieldNames;
}
public String object() {
return this.object;
}
public Optional writeOperationType() {
return Optional.ofNullable(this.writeOperationType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforce defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforceErrorHandlingConfig errorHandlingConfig;
private @Nullable List idFieldNames;
private String object;
private @Nullable String writeOperationType;
public Builder() {}
public Builder(FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforce defaults) {
Objects.requireNonNull(defaults);
this.errorHandlingConfig = defaults.errorHandlingConfig;
this.idFieldNames = defaults.idFieldNames;
this.object = defaults.object;
this.writeOperationType = defaults.writeOperationType;
}
@CustomType.Setter
public Builder errorHandlingConfig(@Nullable FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforceErrorHandlingConfig errorHandlingConfig) {
this.errorHandlingConfig = errorHandlingConfig;
return this;
}
@CustomType.Setter
public Builder idFieldNames(@Nullable List idFieldNames) {
this.idFieldNames = idFieldNames;
return this;
}
public Builder idFieldNames(String... idFieldNames) {
return idFieldNames(List.of(idFieldNames));
}
@CustomType.Setter
public Builder object(String object) {
if (object == null) {
throw new MissingRequiredPropertyException("FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforce", "object");
}
this.object = object;
return this;
}
@CustomType.Setter
public Builder writeOperationType(@Nullable String writeOperationType) {
this.writeOperationType = writeOperationType;
return this;
}
public FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforce build() {
final var _resultValue = new FlowDestinationFlowConfigDestinationConnectorPropertiesSalesforce();
_resultValue.errorHandlingConfig = errorHandlingConfig;
_resultValue.idFieldNames = idFieldNames;
_resultValue.object = object;
_resultValue.writeOperationType = writeOperationType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy