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

com.pulumi.azurenative.datafactory.inputs.TransformationArgs 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.DataFlowReferenceArgs;
import com.pulumi.azurenative.datafactory.inputs.DatasetReferenceArgs;
import com.pulumi.azurenative.datafactory.inputs.LinkedServiceReferenceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * A data flow transformation.
 * 
 */
public final class TransformationArgs extends com.pulumi.resources.ResourceArgs {

    public static final TransformationArgs Empty = new TransformationArgs();

    /**
     * Dataset reference.
     * 
     */
    @Import(name="dataset")
    private @Nullable Output dataset;

    /**
     * @return Dataset reference.
     * 
     */
    public Optional> dataset() {
        return Optional.ofNullable(this.dataset);
    }

    /**
     * Transformation description.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Transformation description.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Flowlet Reference
     * 
     */
    @Import(name="flowlet")
    private @Nullable Output flowlet;

    /**
     * @return Flowlet Reference
     * 
     */
    public Optional> flowlet() {
        return Optional.ofNullable(this.flowlet);
    }

    /**
     * Linked service reference.
     * 
     */
    @Import(name="linkedService")
    private @Nullable Output linkedService;

    /**
     * @return Linked service reference.
     * 
     */
    public Optional> linkedService() {
        return Optional.ofNullable(this.linkedService);
    }

    /**
     * Transformation name.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Transformation name.
     * 
     */
    public Output name() {
        return this.name;
    }

    private TransformationArgs() {}

    private TransformationArgs(TransformationArgs $) {
        this.dataset = $.dataset;
        this.description = $.description;
        this.flowlet = $.flowlet;
        this.linkedService = $.linkedService;
        this.name = $.name;
    }

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

    public static final class Builder {
        private TransformationArgs $;

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

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

        /**
         * @param dataset Dataset reference.
         * 
         * @return builder
         * 
         */
        public Builder dataset(@Nullable Output dataset) {
            $.dataset = dataset;
            return this;
        }

        /**
         * @param dataset Dataset reference.
         * 
         * @return builder
         * 
         */
        public Builder dataset(DatasetReferenceArgs dataset) {
            return dataset(Output.of(dataset));
        }

        /**
         * @param description Transformation description.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Transformation description.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param flowlet Flowlet Reference
         * 
         * @return builder
         * 
         */
        public Builder flowlet(@Nullable Output flowlet) {
            $.flowlet = flowlet;
            return this;
        }

        /**
         * @param flowlet Flowlet Reference
         * 
         * @return builder
         * 
         */
        public Builder flowlet(DataFlowReferenceArgs flowlet) {
            return flowlet(Output.of(flowlet));
        }

        /**
         * @param linkedService Linked service reference.
         * 
         * @return builder
         * 
         */
        public Builder linkedService(@Nullable Output linkedService) {
            $.linkedService = linkedService;
            return this;
        }

        /**
         * @param linkedService Linked service reference.
         * 
         * @return builder
         * 
         */
        public Builder linkedService(LinkedServiceReferenceArgs linkedService) {
            return linkedService(Output.of(linkedService));
        }

        /**
         * @param name Transformation name.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

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

        public TransformationArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("TransformationArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy