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

com.pulumi.azurenative.datafactory.outputs.PowerQuerySourceResponse 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.outputs;

import com.pulumi.azurenative.datafactory.outputs.DataFlowReferenceResponse;
import com.pulumi.azurenative.datafactory.outputs.DatasetReferenceResponse;
import com.pulumi.azurenative.datafactory.outputs.LinkedServiceReferenceResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class PowerQuerySourceResponse {
    /**
     * @return Dataset reference.
     * 
     */
    private @Nullable DatasetReferenceResponse dataset;
    /**
     * @return Transformation description.
     * 
     */
    private @Nullable String description;
    /**
     * @return Flowlet Reference
     * 
     */
    private @Nullable DataFlowReferenceResponse flowlet;
    /**
     * @return Linked service reference.
     * 
     */
    private @Nullable LinkedServiceReferenceResponse linkedService;
    /**
     * @return Transformation name.
     * 
     */
    private String name;
    /**
     * @return Schema linked service reference.
     * 
     */
    private @Nullable LinkedServiceReferenceResponse schemaLinkedService;
    /**
     * @return source script.
     * 
     */
    private @Nullable String script;

    private PowerQuerySourceResponse() {}
    /**
     * @return Dataset reference.
     * 
     */
    public Optional dataset() {
        return Optional.ofNullable(this.dataset);
    }
    /**
     * @return Transformation description.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return Flowlet Reference
     * 
     */
    public Optional flowlet() {
        return Optional.ofNullable(this.flowlet);
    }
    /**
     * @return Linked service reference.
     * 
     */
    public Optional linkedService() {
        return Optional.ofNullable(this.linkedService);
    }
    /**
     * @return Transformation name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Schema linked service reference.
     * 
     */
    public Optional schemaLinkedService() {
        return Optional.ofNullable(this.schemaLinkedService);
    }
    /**
     * @return source script.
     * 
     */
    public Optional script() {
        return Optional.ofNullable(this.script);
    }

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

    public static Builder builder(PowerQuerySourceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable DatasetReferenceResponse dataset;
        private @Nullable String description;
        private @Nullable DataFlowReferenceResponse flowlet;
        private @Nullable LinkedServiceReferenceResponse linkedService;
        private String name;
        private @Nullable LinkedServiceReferenceResponse schemaLinkedService;
        private @Nullable String script;
        public Builder() {}
        public Builder(PowerQuerySourceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataset = defaults.dataset;
    	      this.description = defaults.description;
    	      this.flowlet = defaults.flowlet;
    	      this.linkedService = defaults.linkedService;
    	      this.name = defaults.name;
    	      this.schemaLinkedService = defaults.schemaLinkedService;
    	      this.script = defaults.script;
        }

        @CustomType.Setter
        public Builder dataset(@Nullable DatasetReferenceResponse dataset) {

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

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder flowlet(@Nullable DataFlowReferenceResponse flowlet) {

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

            this.linkedService = linkedService;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("PowerQuerySourceResponse", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder schemaLinkedService(@Nullable LinkedServiceReferenceResponse schemaLinkedService) {

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

            this.script = script;
            return this;
        }
        public PowerQuerySourceResponse build() {
            final var _resultValue = new PowerQuerySourceResponse();
            _resultValue.dataset = dataset;
            _resultValue.description = description;
            _resultValue.flowlet = flowlet;
            _resultValue.linkedService = linkedService;
            _resultValue.name = name;
            _resultValue.schemaLinkedService = schemaLinkedService;
            _resultValue.script = script;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy