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

com.pulumi.aws.appmesh.inputs.GatewayRouteSpecHttp2RouteMatchQueryParameterArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.appmesh.inputs;

import com.pulumi.aws.appmesh.inputs.GatewayRouteSpecHttp2RouteMatchQueryParameterMatchArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GatewayRouteSpecHttp2RouteMatchQueryParameterArgs Empty = new GatewayRouteSpecHttp2RouteMatchQueryParameterArgs();

    /**
     * The query parameter to match on.
     * 
     */
    @Import(name="match")
    private @Nullable Output match;

    /**
     * @return The query parameter to match on.
     * 
     */
    public Optional> match() {
        return Optional.ofNullable(this.match);
    }

    /**
     * Name for the query parameter that will be matched on.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Name for the query parameter that will be matched on.
     * 
     */
    public Output name() {
        return this.name;
    }

    private GatewayRouteSpecHttp2RouteMatchQueryParameterArgs() {}

    private GatewayRouteSpecHttp2RouteMatchQueryParameterArgs(GatewayRouteSpecHttp2RouteMatchQueryParameterArgs $) {
        this.match = $.match;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GatewayRouteSpecHttp2RouteMatchQueryParameterArgs $;

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

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

        /**
         * @param match The query parameter to match on.
         * 
         * @return builder
         * 
         */
        public Builder match(@Nullable Output match) {
            $.match = match;
            return this;
        }

        /**
         * @param match The query parameter to match on.
         * 
         * @return builder
         * 
         */
        public Builder match(GatewayRouteSpecHttp2RouteMatchQueryParameterMatchArgs match) {
            return match(Output.of(match));
        }

        /**
         * @param name Name for the query parameter that will be matched on.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name for the query parameter that will be matched on.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy