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

com.pulumi.azurenative.datafactory.outputs.TumblingWindowTriggerDependencyReferenceResponse 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;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class TumblingWindowTriggerDependencyReferenceResponse {
    /**
     * @return Timespan applied to the start time of a tumbling window when evaluating dependency.
     * 
     */
    private @Nullable String offset;
    /**
     * @return Referenced trigger.
     * 
     */
    private TriggerReferenceResponse referenceTrigger;
    /**
     * @return The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used.
     * 
     */
    private @Nullable String size;
    /**
     * @return The type of dependency reference.
     * Expected value is 'TumblingWindowTriggerDependencyReference'.
     * 
     */
    private String type;

    private TumblingWindowTriggerDependencyReferenceResponse() {}
    /**
     * @return Timespan applied to the start time of a tumbling window when evaluating dependency.
     * 
     */
    public Optional offset() {
        return Optional.ofNullable(this.offset);
    }
    /**
     * @return Referenced trigger.
     * 
     */
    public TriggerReferenceResponse referenceTrigger() {
        return this.referenceTrigger;
    }
    /**
     * @return The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used.
     * 
     */
    public Optional size() {
        return Optional.ofNullable(this.size);
    }
    /**
     * @return The type of dependency reference.
     * Expected value is 'TumblingWindowTriggerDependencyReference'.
     * 
     */
    public String type() {
        return this.type;
    }

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

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

        @CustomType.Setter
        public Builder offset(@Nullable String offset) {

            this.offset = offset;
            return this;
        }
        @CustomType.Setter
        public Builder referenceTrigger(TriggerReferenceResponse referenceTrigger) {
            if (referenceTrigger == null) {
              throw new MissingRequiredPropertyException("TumblingWindowTriggerDependencyReferenceResponse", "referenceTrigger");
            }
            this.referenceTrigger = referenceTrigger;
            return this;
        }
        @CustomType.Setter
        public Builder size(@Nullable String size) {

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy