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

com.pulumi.junipermist.org.inputs.GatewaytemplateRoutingPoliciesArgs Maven / Gradle / Ivy

// *** 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.junipermist.org.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.junipermist.org.inputs.GatewaytemplateRoutingPoliciesTermArgs;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GatewaytemplateRoutingPoliciesArgs extends com.pulumi.resources.ResourceArgs {

    public static final GatewaytemplateRoutingPoliciesArgs Empty = new GatewaytemplateRoutingPoliciesArgs();

    /**
     * zero or more criteria/filter can be specified to match the term, all criteria have to be met
     * 
     */
    @Import(name="terms")
    private @Nullable Output> terms;

    /**
     * @return zero or more criteria/filter can be specified to match the term, all criteria have to be met
     * 
     */
    public Optional>> terms() {
        return Optional.ofNullable(this.terms);
    }

    private GatewaytemplateRoutingPoliciesArgs() {}

    private GatewaytemplateRoutingPoliciesArgs(GatewaytemplateRoutingPoliciesArgs $) {
        this.terms = $.terms;
    }

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

    public static final class Builder {
        private GatewaytemplateRoutingPoliciesArgs $;

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

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

        /**
         * @param terms zero or more criteria/filter can be specified to match the term, all criteria have to be met
         * 
         * @return builder
         * 
         */
        public Builder terms(@Nullable Output> terms) {
            $.terms = terms;
            return this;
        }

        /**
         * @param terms zero or more criteria/filter can be specified to match the term, all criteria have to be met
         * 
         * @return builder
         * 
         */
        public Builder terms(List terms) {
            return terms(Output.of(terms));
        }

        /**
         * @param terms zero or more criteria/filter can be specified to match the term, all criteria have to be met
         * 
         * @return builder
         * 
         */
        public Builder terms(GatewaytemplateRoutingPoliciesTermArgs... terms) {
            return terms(List.of(terms));
        }

        public GatewaytemplateRoutingPoliciesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy