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

com.pulumi.azurenative.network.inputs.GroupByVariableArgs 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.network.inputs;

import com.pulumi.azurenative.network.enums.ApplicationGatewayFirewallUserSessionVariable;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * Define user session group by clause variables.
 * 
 */
public final class GroupByVariableArgs extends com.pulumi.resources.ResourceArgs {

    public static final GroupByVariableArgs Empty = new GroupByVariableArgs();

    /**
     * User Session clause variable.
     * 
     */
    @Import(name="variableName", required=true)
    private Output> variableName;

    /**
     * @return User Session clause variable.
     * 
     */
    public Output> variableName() {
        return this.variableName;
    }

    private GroupByVariableArgs() {}

    private GroupByVariableArgs(GroupByVariableArgs $) {
        this.variableName = $.variableName;
    }

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

    public static final class Builder {
        private GroupByVariableArgs $;

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

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

        /**
         * @param variableName User Session clause variable.
         * 
         * @return builder
         * 
         */
        public Builder variableName(Output> variableName) {
            $.variableName = variableName;
            return this;
        }

        /**
         * @param variableName User Session clause variable.
         * 
         * @return builder
         * 
         */
        public Builder variableName(Either variableName) {
            return variableName(Output.of(variableName));
        }

        /**
         * @param variableName User Session clause variable.
         * 
         * @return builder
         * 
         */
        public Builder variableName(String variableName) {
            return variableName(Either.ofLeft(variableName));
        }

        /**
         * @param variableName User Session clause variable.
         * 
         * @return builder
         * 
         */
        public Builder variableName(ApplicationGatewayFirewallUserSessionVariable variableName) {
            return variableName(Either.ofRight(variableName));
        }

        public GroupByVariableArgs build() {
            if ($.variableName == null) {
                throw new MissingRequiredPropertyException("GroupByVariableArgs", "variableName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy