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

com.pulumi.azurenative.datafactory.inputs.DataMapperMappingArgs Maven / Gradle / Ivy

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.azurenative.datafactory.inputs;

import com.pulumi.azurenative.datafactory.inputs.MapperAttributeMappingsArgs;
import com.pulumi.azurenative.datafactory.inputs.MapperConnectionReferenceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Source and target table mapping details.
 * 
 */
public final class DataMapperMappingArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataMapperMappingArgs Empty = new DataMapperMappingArgs();

    /**
     * This holds the user provided attribute mapping information.
     * 
     */
    @Import(name="attributeMappingInfo")
    private @Nullable Output attributeMappingInfo;

    /**
     * @return This holds the user provided attribute mapping information.
     * 
     */
    public Optional> attributeMappingInfo() {
        return Optional.ofNullable(this.attributeMappingInfo);
    }

    /**
     * The connection reference for the source connection.
     * 
     */
    @Import(name="sourceConnectionReference")
    private @Nullable Output sourceConnectionReference;

    /**
     * @return The connection reference for the source connection.
     * 
     */
    public Optional> sourceConnectionReference() {
        return Optional.ofNullable(this.sourceConnectionReference);
    }

    /**
     * This holds the source denormalization information used while joining multiple sources.
     * 
     */
    @Import(name="sourceDenormalizeInfo")
    private @Nullable Output sourceDenormalizeInfo;

    /**
     * @return This holds the source denormalization information used while joining multiple sources.
     * 
     */
    public Optional> sourceDenormalizeInfo() {
        return Optional.ofNullable(this.sourceDenormalizeInfo);
    }

    /**
     * Name of the source table
     * 
     */
    @Import(name="sourceEntityName")
    private @Nullable Output sourceEntityName;

    /**
     * @return Name of the source table
     * 
     */
    public Optional> sourceEntityName() {
        return Optional.ofNullable(this.sourceEntityName);
    }

    /**
     * Name of the target table
     * 
     */
    @Import(name="targetEntityName")
    private @Nullable Output targetEntityName;

    /**
     * @return Name of the target table
     * 
     */
    public Optional> targetEntityName() {
        return Optional.ofNullable(this.targetEntityName);
    }

    private DataMapperMappingArgs() {}

    private DataMapperMappingArgs(DataMapperMappingArgs $) {
        this.attributeMappingInfo = $.attributeMappingInfo;
        this.sourceConnectionReference = $.sourceConnectionReference;
        this.sourceDenormalizeInfo = $.sourceDenormalizeInfo;
        this.sourceEntityName = $.sourceEntityName;
        this.targetEntityName = $.targetEntityName;
    }

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

    public static final class Builder {
        private DataMapperMappingArgs $;

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

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

        /**
         * @param attributeMappingInfo This holds the user provided attribute mapping information.
         * 
         * @return builder
         * 
         */
        public Builder attributeMappingInfo(@Nullable Output attributeMappingInfo) {
            $.attributeMappingInfo = attributeMappingInfo;
            return this;
        }

        /**
         * @param attributeMappingInfo This holds the user provided attribute mapping information.
         * 
         * @return builder
         * 
         */
        public Builder attributeMappingInfo(MapperAttributeMappingsArgs attributeMappingInfo) {
            return attributeMappingInfo(Output.of(attributeMappingInfo));
        }

        /**
         * @param sourceConnectionReference The connection reference for the source connection.
         * 
         * @return builder
         * 
         */
        public Builder sourceConnectionReference(@Nullable Output sourceConnectionReference) {
            $.sourceConnectionReference = sourceConnectionReference;
            return this;
        }

        /**
         * @param sourceConnectionReference The connection reference for the source connection.
         * 
         * @return builder
         * 
         */
        public Builder sourceConnectionReference(MapperConnectionReferenceArgs sourceConnectionReference) {
            return sourceConnectionReference(Output.of(sourceConnectionReference));
        }

        /**
         * @param sourceDenormalizeInfo This holds the source denormalization information used while joining multiple sources.
         * 
         * @return builder
         * 
         */
        public Builder sourceDenormalizeInfo(@Nullable Output sourceDenormalizeInfo) {
            $.sourceDenormalizeInfo = sourceDenormalizeInfo;
            return this;
        }

        /**
         * @param sourceDenormalizeInfo This holds the source denormalization information used while joining multiple sources.
         * 
         * @return builder
         * 
         */
        public Builder sourceDenormalizeInfo(Object sourceDenormalizeInfo) {
            return sourceDenormalizeInfo(Output.of(sourceDenormalizeInfo));
        }

        /**
         * @param sourceEntityName Name of the source table
         * 
         * @return builder
         * 
         */
        public Builder sourceEntityName(@Nullable Output sourceEntityName) {
            $.sourceEntityName = sourceEntityName;
            return this;
        }

        /**
         * @param sourceEntityName Name of the source table
         * 
         * @return builder
         * 
         */
        public Builder sourceEntityName(String sourceEntityName) {
            return sourceEntityName(Output.of(sourceEntityName));
        }

        /**
         * @param targetEntityName Name of the target table
         * 
         * @return builder
         * 
         */
        public Builder targetEntityName(@Nullable Output targetEntityName) {
            $.targetEntityName = targetEntityName;
            return this;
        }

        /**
         * @param targetEntityName Name of the target table
         * 
         * @return builder
         * 
         */
        public Builder targetEntityName(String targetEntityName) {
            return targetEntityName(Output.of(targetEntityName));
        }

        public DataMapperMappingArgs build() {
            return $;
        }
    }

}