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

com.pulumi.aws.appmesh.inputs.GatewayRouteSpecHttpRouteMatchHeaderMatchArgs 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.GatewayRouteSpecHttpRouteMatchHeaderMatchRangeArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GatewayRouteSpecHttpRouteMatchHeaderMatchArgs Empty = new GatewayRouteSpecHttpRouteMatchHeaderMatchArgs();

    /**
     * Header value sent by the client must match the specified value exactly.
     * 
     */
    @Import(name="exact")
    private @Nullable Output exact;

    /**
     * @return Header value sent by the client must match the specified value exactly.
     * 
     */
    public Optional> exact() {
        return Optional.ofNullable(this.exact);
    }

    /**
     * Header value sent by the client must begin with the specified characters.
     * 
     */
    @Import(name="prefix")
    private @Nullable Output prefix;

    /**
     * @return Header value sent by the client must begin with the specified characters.
     * 
     */
    public Optional> prefix() {
        return Optional.ofNullable(this.prefix);
    }

    /**
     * Object that specifies the range of numbers that the header value sent by the client must be included in.
     * 
     */
    @Import(name="range")
    private @Nullable Output range;

    /**
     * @return Object that specifies the range of numbers that the header value sent by the client must be included in.
     * 
     */
    public Optional> range() {
        return Optional.ofNullable(this.range);
    }

    /**
     * Header value sent by the client must include the specified characters.
     * 
     */
    @Import(name="regex")
    private @Nullable Output regex;

    /**
     * @return Header value sent by the client must include the specified characters.
     * 
     */
    public Optional> regex() {
        return Optional.ofNullable(this.regex);
    }

    /**
     * Header value sent by the client must end with the specified characters.
     * 
     */
    @Import(name="suffix")
    private @Nullable Output suffix;

    /**
     * @return Header value sent by the client must end with the specified characters.
     * 
     */
    public Optional> suffix() {
        return Optional.ofNullable(this.suffix);
    }

    private GatewayRouteSpecHttpRouteMatchHeaderMatchArgs() {}

    private GatewayRouteSpecHttpRouteMatchHeaderMatchArgs(GatewayRouteSpecHttpRouteMatchHeaderMatchArgs $) {
        this.exact = $.exact;
        this.prefix = $.prefix;
        this.range = $.range;
        this.regex = $.regex;
        this.suffix = $.suffix;
    }

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

    public static final class Builder {
        private GatewayRouteSpecHttpRouteMatchHeaderMatchArgs $;

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

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

        /**
         * @param exact Header value sent by the client must match the specified value exactly.
         * 
         * @return builder
         * 
         */
        public Builder exact(@Nullable Output exact) {
            $.exact = exact;
            return this;
        }

        /**
         * @param exact Header value sent by the client must match the specified value exactly.
         * 
         * @return builder
         * 
         */
        public Builder exact(String exact) {
            return exact(Output.of(exact));
        }

        /**
         * @param prefix Header value sent by the client must begin with the specified characters.
         * 
         * @return builder
         * 
         */
        public Builder prefix(@Nullable Output prefix) {
            $.prefix = prefix;
            return this;
        }

        /**
         * @param prefix Header value sent by the client must begin with the specified characters.
         * 
         * @return builder
         * 
         */
        public Builder prefix(String prefix) {
            return prefix(Output.of(prefix));
        }

        /**
         * @param range Object that specifies the range of numbers that the header value sent by the client must be included in.
         * 
         * @return builder
         * 
         */
        public Builder range(@Nullable Output range) {
            $.range = range;
            return this;
        }

        /**
         * @param range Object that specifies the range of numbers that the header value sent by the client must be included in.
         * 
         * @return builder
         * 
         */
        public Builder range(GatewayRouteSpecHttpRouteMatchHeaderMatchRangeArgs range) {
            return range(Output.of(range));
        }

        /**
         * @param regex Header value sent by the client must include the specified characters.
         * 
         * @return builder
         * 
         */
        public Builder regex(@Nullable Output regex) {
            $.regex = regex;
            return this;
        }

        /**
         * @param regex Header value sent by the client must include the specified characters.
         * 
         * @return builder
         * 
         */
        public Builder regex(String regex) {
            return regex(Output.of(regex));
        }

        /**
         * @param suffix Header value sent by the client must end with the specified characters.
         * 
         * @return builder
         * 
         */
        public Builder suffix(@Nullable Output suffix) {
            $.suffix = suffix;
            return this;
        }

        /**
         * @param suffix Header value sent by the client must end with the specified characters.
         * 
         * @return builder
         * 
         */
        public Builder suffix(String suffix) {
            return suffix(Output.of(suffix));
        }

        public GatewayRouteSpecHttpRouteMatchHeaderMatchArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy