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

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

The 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;


/**
 * Transformation for data flow sink.
 * 
 */
public final class DataFlowSinkArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataFlowSinkArgs Empty = new DataFlowSinkArgs();

    /**
     * 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;
    }

    /**
     * Rejected data linked service reference.
     * 
     */
    @Import(name="rejectedDataLinkedService")
    private @Nullable Output rejectedDataLinkedService;

    /**
     * @return Rejected data linked service reference.
     * 
     */
    public Optional> rejectedDataLinkedService() {
        return Optional.ofNullable(this.rejectedDataLinkedService);
    }

    /**
     * Schema linked service reference.
     * 
     */
    @Import(name="schemaLinkedService")
    private @Nullable Output schemaLinkedService;

    /**
     * @return Schema linked service reference.
     * 
     */
    public Optional> schemaLinkedService() {
        return Optional.ofNullable(this.schemaLinkedService);
    }

    private DataFlowSinkArgs() {}

    private DataFlowSinkArgs(DataFlowSinkArgs $) {
        this.dataset = $.dataset;
        this.description = $.description;
        this.flowlet = $.flowlet;
        this.linkedService = $.linkedService;
        this.name = $.name;
        this.rejectedDataLinkedService = $.rejectedDataLinkedService;
        this.schemaLinkedService = $.schemaLinkedService;
    }

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

    public static final class Builder {
        private DataFlowSinkArgs $;

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

        public Builder(DataFlowSinkArgs defaults) {
            $ = new DataFlowSinkArgs(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));
        }

        /**
         * @param rejectedDataLinkedService Rejected data linked service reference.
         * 
         * @return builder
         * 
         */
        public Builder rejectedDataLinkedService(@Nullable Output rejectedDataLinkedService) {
            $.rejectedDataLinkedService = rejectedDataLinkedService;
            return this;
        }

        /**
         * @param rejectedDataLinkedService Rejected data linked service reference.
         * 
         * @return builder
         * 
         */
        public Builder rejectedDataLinkedService(LinkedServiceReferenceArgs rejectedDataLinkedService) {
            return rejectedDataLinkedService(Output.of(rejectedDataLinkedService));
        }

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

        /**
         * @param schemaLinkedService Schema linked service reference.
         * 
         * @return builder
         * 
         */
        public Builder schemaLinkedService(LinkedServiceReferenceArgs schemaLinkedService) {
            return schemaLinkedService(Output.of(schemaLinkedService));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy