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

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


/**
 * Self referenced tumbling window trigger dependency.
 * 
 */
public final class SelfDependencyTumblingWindowTriggerReferenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final SelfDependencyTumblingWindowTriggerReferenceArgs Empty = new SelfDependencyTumblingWindowTriggerReferenceArgs();

    /**
     * Timespan applied to the start time of a tumbling window when evaluating dependency.
     * 
     */
    @Import(name="offset", required=true)
    private Output offset;

    /**
     * @return Timespan applied to the start time of a tumbling window when evaluating dependency.
     * 
     */
    public Output offset() {
        return this.offset;
    }

    /**
     * The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used.
     * 
     */
    @Import(name="size")
    private @Nullable Output size;

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

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

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

    private SelfDependencyTumblingWindowTriggerReferenceArgs() {}

    private SelfDependencyTumblingWindowTriggerReferenceArgs(SelfDependencyTumblingWindowTriggerReferenceArgs $) {
        this.offset = $.offset;
        this.size = $.size;
        this.type = $.type;
    }

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

    public static final class Builder {
        private SelfDependencyTumblingWindowTriggerReferenceArgs $;

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

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

        /**
         * @param offset Timespan applied to the start time of a tumbling window when evaluating dependency.
         * 
         * @return builder
         * 
         */
        public Builder offset(Output offset) {
            $.offset = offset;
            return this;
        }

        /**
         * @param offset Timespan applied to the start time of a tumbling window when evaluating dependency.
         * 
         * @return builder
         * 
         */
        public Builder offset(String offset) {
            return offset(Output.of(offset));
        }

        /**
         * @param size The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used.
         * 
         * @return builder
         * 
         */
        public Builder size(@Nullable Output size) {
            $.size = size;
            return this;
        }

        /**
         * @param size The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window will be used.
         * 
         * @return builder
         * 
         */
        public Builder size(String size) {
            return size(Output.of(size));
        }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy