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

com.pulumi.azurenative.datafactory.inputs.CustomActivityReferenceObjectArgs 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.DatasetReferenceArgs;
import com.pulumi.azurenative.datafactory.inputs.LinkedServiceReferenceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Reference objects for custom activity
 * 
 */
public final class CustomActivityReferenceObjectArgs extends com.pulumi.resources.ResourceArgs {

    public static final CustomActivityReferenceObjectArgs Empty = new CustomActivityReferenceObjectArgs();

    /**
     * Dataset references.
     * 
     */
    @Import(name="datasets")
    private @Nullable Output> datasets;

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

    /**
     * Linked service references.
     * 
     */
    @Import(name="linkedServices")
    private @Nullable Output> linkedServices;

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

    private CustomActivityReferenceObjectArgs() {}

    private CustomActivityReferenceObjectArgs(CustomActivityReferenceObjectArgs $) {
        this.datasets = $.datasets;
        this.linkedServices = $.linkedServices;
    }

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

    public static final class Builder {
        private CustomActivityReferenceObjectArgs $;

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

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

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

        /**
         * @param datasets Dataset references.
         * 
         * @return builder
         * 
         */
        public Builder datasets(List datasets) {
            return datasets(Output.of(datasets));
        }

        /**
         * @param datasets Dataset references.
         * 
         * @return builder
         * 
         */
        public Builder datasets(DatasetReferenceArgs... datasets) {
            return datasets(List.of(datasets));
        }

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

        /**
         * @param linkedServices Linked service references.
         * 
         * @return builder
         * 
         */
        public Builder linkedServices(List linkedServices) {
            return linkedServices(Output.of(linkedServices));
        }

        /**
         * @param linkedServices Linked service references.
         * 
         * @return builder
         * 
         */
        public Builder linkedServices(LinkedServiceReferenceArgs... linkedServices) {
            return linkedServices(List.of(linkedServices));
        }

        public CustomActivityReferenceObjectArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy