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

com.pulumi.azurenative.datafactory.inputs.TriggerDependencyReferenceArgs 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.TriggerReferenceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * Trigger referenced dependency.
 * 
 */
public final class TriggerDependencyReferenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final TriggerDependencyReferenceArgs Empty = new TriggerDependencyReferenceArgs();

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

    /**
     * @return Referenced trigger.
     * 
     */
    public Output referenceTrigger() {
        return this.referenceTrigger;
    }

    /**
     * The type of dependency reference.
     * Expected value is 'TriggerDependencyReference'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The type of dependency reference.
     * Expected value is 'TriggerDependencyReference'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private TriggerDependencyReferenceArgs() {}

    private TriggerDependencyReferenceArgs(TriggerDependencyReferenceArgs $) {
        this.referenceTrigger = $.referenceTrigger;
        this.type = $.type;
    }

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

    public static final class Builder {
        private TriggerDependencyReferenceArgs $;

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

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

        /**
         * @param referenceTrigger Referenced trigger.
         * 
         * @return builder
         * 
         */
        public Builder referenceTrigger(Output referenceTrigger) {
            $.referenceTrigger = referenceTrigger;
            return this;
        }

        /**
         * @param referenceTrigger Referenced trigger.
         * 
         * @return builder
         * 
         */
        public Builder referenceTrigger(TriggerReferenceArgs referenceTrigger) {
            return referenceTrigger(Output.of(referenceTrigger));
        }

        /**
         * @param type The type of dependency reference.
         * Expected value is 'TriggerDependencyReference'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The type of dependency reference.
         * Expected value is 'TriggerDependencyReference'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public TriggerDependencyReferenceArgs build() {
            if ($.referenceTrigger == null) {
                throw new MissingRequiredPropertyException("TriggerDependencyReferenceArgs", "referenceTrigger");
            }
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy