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

com.pulumi.azurenative.datafactory.outputs.MapperTableResponse Maven / Gradle / Ivy

// *** 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.outputs;

import com.pulumi.azurenative.datafactory.outputs.MapperDslConnectorPropertiesResponse;
import com.pulumi.azurenative.datafactory.outputs.MapperTableSchemaResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class MapperTableResponse {
    /**
     * @return List of name/value pairs for connection properties.
     * 
     */
    private @Nullable List dslConnectorProperties;
    /**
     * @return Name of the table.
     * 
     */
    private @Nullable String name;
    /**
     * @return List of columns for the source table.
     * 
     */
    private @Nullable List schema;

    private MapperTableResponse() {}
    /**
     * @return List of name/value pairs for connection properties.
     * 
     */
    public List dslConnectorProperties() {
        return this.dslConnectorProperties == null ? List.of() : this.dslConnectorProperties;
    }
    /**
     * @return Name of the table.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return List of columns for the source table.
     * 
     */
    public List schema() {
        return this.schema == null ? List.of() : this.schema;
    }

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

    public static Builder builder(MapperTableResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List dslConnectorProperties;
        private @Nullable String name;
        private @Nullable List schema;
        public Builder() {}
        public Builder(MapperTableResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dslConnectorProperties = defaults.dslConnectorProperties;
    	      this.name = defaults.name;
    	      this.schema = defaults.schema;
        }

        @CustomType.Setter
        public Builder dslConnectorProperties(@Nullable List dslConnectorProperties) {

            this.dslConnectorProperties = dslConnectorProperties;
            return this;
        }
        public Builder dslConnectorProperties(MapperDslConnectorPropertiesResponse... dslConnectorProperties) {
            return dslConnectorProperties(List.of(dslConnectorProperties));
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder schema(@Nullable List schema) {

            this.schema = schema;
            return this;
        }
        public Builder schema(MapperTableSchemaResponse... schema) {
            return schema(List.of(schema));
        }
        public MapperTableResponse build() {
            final var _resultValue = new MapperTableResponse();
            _resultValue.dslConnectorProperties = dslConnectorProperties;
            _resultValue.name = name;
            _resultValue.schema = schema;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy