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

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

There is a newer version: 2.72.0
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.azurenative.datafactory.inputs;

import com.pulumi.azurenative.datafactory.inputs.MapperDslConnectorPropertiesArgs;
import com.pulumi.azurenative.datafactory.inputs.MapperTableSchemaArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * CDC table details.
 * 
 */
public final class MapperTableArgs extends com.pulumi.resources.ResourceArgs {

    public static final MapperTableArgs Empty = new MapperTableArgs();

    /**
     * List of name/value pairs for connection properties.
     * 
     */
    @Import(name="dslConnectorProperties")
    private @Nullable Output> dslConnectorProperties;

    /**
     * @return List of name/value pairs for connection properties.
     * 
     */
    public Optional>> dslConnectorProperties() {
        return Optional.ofNullable(this.dslConnectorProperties);
    }

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

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

    /**
     * List of columns for the source table.
     * 
     */
    @Import(name="schema")
    private @Nullable Output> schema;

    /**
     * @return List of columns for the source table.
     * 
     */
    public Optional>> schema() {
        return Optional.ofNullable(this.schema);
    }

    private MapperTableArgs() {}

    private MapperTableArgs(MapperTableArgs $) {
        this.dslConnectorProperties = $.dslConnectorProperties;
        this.name = $.name;
        this.schema = $.schema;
    }

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

    public static final class Builder {
        private MapperTableArgs $;

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

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

        /**
         * @param dslConnectorProperties List of name/value pairs for connection properties.
         * 
         * @return builder
         * 
         */
        public Builder dslConnectorProperties(@Nullable Output> dslConnectorProperties) {
            $.dslConnectorProperties = dslConnectorProperties;
            return this;
        }

        /**
         * @param dslConnectorProperties List of name/value pairs for connection properties.
         * 
         * @return builder
         * 
         */
        public Builder dslConnectorProperties(List dslConnectorProperties) {
            return dslConnectorProperties(Output.of(dslConnectorProperties));
        }

        /**
         * @param dslConnectorProperties List of name/value pairs for connection properties.
         * 
         * @return builder
         * 
         */
        public Builder dslConnectorProperties(MapperDslConnectorPropertiesArgs... dslConnectorProperties) {
            return dslConnectorProperties(List.of(dslConnectorProperties));
        }

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

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

        /**
         * @param schema List of columns for the source table.
         * 
         * @return builder
         * 
         */
        public Builder schema(@Nullable Output> schema) {
            $.schema = schema;
            return this;
        }

        /**
         * @param schema List of columns for the source table.
         * 
         * @return builder
         * 
         */
        public Builder schema(List schema) {
            return schema(Output.of(schema));
        }

        /**
         * @param schema List of columns for the source table.
         * 
         * @return builder
         * 
         */
        public Builder schema(MapperTableSchemaArgs... schema) {
            return schema(List.of(schema));
        }

        public MapperTableArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy