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

com.pulumi.azurenative.datafactory.outputs.TriggerDependencyReferenceResponse 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.TriggerReferenceResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class TriggerDependencyReferenceResponse {
    /**
     * @return Referenced trigger.
     * 
     */
    private TriggerReferenceResponse referenceTrigger;
    /**
     * @return The type of dependency reference.
     * Expected value is 'TriggerDependencyReference'.
     * 
     */
    private String type;

    private TriggerDependencyReferenceResponse() {}
    /**
     * @return Referenced trigger.
     * 
     */
    public TriggerReferenceResponse referenceTrigger() {
        return this.referenceTrigger;
    }
    /**
     * @return The type of dependency reference.
     * Expected value is 'TriggerDependencyReference'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(TriggerDependencyReferenceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private TriggerReferenceResponse referenceTrigger;
        private String type;
        public Builder() {}
        public Builder(TriggerDependencyReferenceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.referenceTrigger = defaults.referenceTrigger;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder referenceTrigger(TriggerReferenceResponse referenceTrigger) {
            if (referenceTrigger == null) {
              throw new MissingRequiredPropertyException("TriggerDependencyReferenceResponse", "referenceTrigger");
            }
            this.referenceTrigger = referenceTrigger;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("TriggerDependencyReferenceResponse", "type");
            }
            this.type = type;
            return this;
        }
        public TriggerDependencyReferenceResponse build() {
            final var _resultValue = new TriggerDependencyReferenceResponse();
            _resultValue.referenceTrigger = referenceTrigger;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy