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

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

Go to download

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

The 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.aws.appflow.outputs.FlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataErrorHandlingConfig;
import com.pulumi.aws.appflow.outputs.FlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataSuccessResponseHandlingConfig;
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 FlowDestinationFlowConfigDestinationConnectorPropertiesSapoData {
    private @Nullable FlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataErrorHandlingConfig errorHandlingConfig;
    private @Nullable List idFieldNames;
    private String objectPath;
    /**
     * @return Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data. See Success Response Handling Config for more details.
     * 
     */
    private @Nullable FlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataSuccessResponseHandlingConfig successResponseHandlingConfig;
    private @Nullable String writeOperationType;

    private FlowDestinationFlowConfigDestinationConnectorPropertiesSapoData() {}
    public Optional errorHandlingConfig() {
        return Optional.ofNullable(this.errorHandlingConfig);
    }
    public List idFieldNames() {
        return this.idFieldNames == null ? List.of() : this.idFieldNames;
    }
    public String objectPath() {
        return this.objectPath;
    }
    /**
     * @return Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data. See Success Response Handling Config for more details.
     * 
     */
    public Optional successResponseHandlingConfig() {
        return Optional.ofNullable(this.successResponseHandlingConfig);
    }
    public Optional writeOperationType() {
        return Optional.ofNullable(this.writeOperationType);
    }

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

    public static Builder builder(FlowDestinationFlowConfigDestinationConnectorPropertiesSapoData defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable FlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataErrorHandlingConfig errorHandlingConfig;
        private @Nullable List idFieldNames;
        private String objectPath;
        private @Nullable FlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataSuccessResponseHandlingConfig successResponseHandlingConfig;
        private @Nullable String writeOperationType;
        public Builder() {}
        public Builder(FlowDestinationFlowConfigDestinationConnectorPropertiesSapoData defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.errorHandlingConfig = defaults.errorHandlingConfig;
    	      this.idFieldNames = defaults.idFieldNames;
    	      this.objectPath = defaults.objectPath;
    	      this.successResponseHandlingConfig = defaults.successResponseHandlingConfig;
    	      this.writeOperationType = defaults.writeOperationType;
        }

        @CustomType.Setter
        public Builder errorHandlingConfig(@Nullable FlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataErrorHandlingConfig 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 objectPath(String objectPath) {
            if (objectPath == null) {
              throw new MissingRequiredPropertyException("FlowDestinationFlowConfigDestinationConnectorPropertiesSapoData", "objectPath");
            }
            this.objectPath = objectPath;
            return this;
        }
        @CustomType.Setter
        public Builder successResponseHandlingConfig(@Nullable FlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataSuccessResponseHandlingConfig successResponseHandlingConfig) {

            this.successResponseHandlingConfig = successResponseHandlingConfig;
            return this;
        }
        @CustomType.Setter
        public Builder writeOperationType(@Nullable String writeOperationType) {

            this.writeOperationType = writeOperationType;
            return this;
        }
        public FlowDestinationFlowConfigDestinationConnectorPropertiesSapoData build() {
            final var _resultValue = new FlowDestinationFlowConfigDestinationConnectorPropertiesSapoData();
            _resultValue.errorHandlingConfig = errorHandlingConfig;
            _resultValue.idFieldNames = idFieldNames;
            _resultValue.objectPath = objectPath;
            _resultValue.successResponseHandlingConfig = successResponseHandlingConfig;
            _resultValue.writeOperationType = writeOperationType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy