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

com.pulumi.azurenative.datafactory.outputs.MapperConnectionResponse 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.LinkedServiceReferenceResponse;
import com.pulumi.azurenative.datafactory.outputs.MapperDslConnectorPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class MapperConnectionResponse {
    /**
     * @return List of name/value pairs for connection properties.
     * 
     */
    private @Nullable List commonDslConnectorProperties;
    /**
     * @return A boolean indicating whether linked service is of type inline dataset. Currently only inline datasets are supported.
     * 
     */
    private @Nullable Boolean isInlineDataset;
    /**
     * @return Linked service reference.
     * 
     */
    private @Nullable LinkedServiceReferenceResponse linkedService;
    /**
     * @return Type of the linked service e.g.: AzureBlobFS.
     * 
     */
    private @Nullable String linkedServiceType;
    /**
     * @return Type of connection via linked service or dataset.
     * 
     */
    private String type;

    private MapperConnectionResponse() {}
    /**
     * @return List of name/value pairs for connection properties.
     * 
     */
    public List commonDslConnectorProperties() {
        return this.commonDslConnectorProperties == null ? List.of() : this.commonDslConnectorProperties;
    }
    /**
     * @return A boolean indicating whether linked service is of type inline dataset. Currently only inline datasets are supported.
     * 
     */
    public Optional isInlineDataset() {
        return Optional.ofNullable(this.isInlineDataset);
    }
    /**
     * @return Linked service reference.
     * 
     */
    public Optional linkedService() {
        return Optional.ofNullable(this.linkedService);
    }
    /**
     * @return Type of the linked service e.g.: AzureBlobFS.
     * 
     */
    public Optional linkedServiceType() {
        return Optional.ofNullable(this.linkedServiceType);
    }
    /**
     * @return Type of connection via linked service or dataset.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(MapperConnectionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List commonDslConnectorProperties;
        private @Nullable Boolean isInlineDataset;
        private @Nullable LinkedServiceReferenceResponse linkedService;
        private @Nullable String linkedServiceType;
        private String type;
        public Builder() {}
        public Builder(MapperConnectionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.commonDslConnectorProperties = defaults.commonDslConnectorProperties;
    	      this.isInlineDataset = defaults.isInlineDataset;
    	      this.linkedService = defaults.linkedService;
    	      this.linkedServiceType = defaults.linkedServiceType;
    	      this.type = defaults.type;
        }

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

            this.commonDslConnectorProperties = commonDslConnectorProperties;
            return this;
        }
        public Builder commonDslConnectorProperties(MapperDslConnectorPropertiesResponse... commonDslConnectorProperties) {
            return commonDslConnectorProperties(List.of(commonDslConnectorProperties));
        }
        @CustomType.Setter
        public Builder isInlineDataset(@Nullable Boolean isInlineDataset) {

            this.isInlineDataset = isInlineDataset;
            return this;
        }
        @CustomType.Setter
        public Builder linkedService(@Nullable LinkedServiceReferenceResponse linkedService) {

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

            this.linkedServiceType = linkedServiceType;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("MapperConnectionResponse", "type");
            }
            this.type = type;
            return this;
        }
        public MapperConnectionResponse build() {
            final var _resultValue = new MapperConnectionResponse();
            _resultValue.commonDslConnectorProperties = commonDslConnectorProperties;
            _resultValue.isInlineDataset = isInlineDataset;
            _resultValue.linkedService = linkedService;
            _resultValue.linkedServiceType = linkedServiceType;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy