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

com.pulumi.azurenative.app.inputs.HeaderMatchArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.app.inputs;

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;


/**
 * Conditions required to match a header
 * 
 */
public final class HeaderMatchArgs extends com.pulumi.resources.ResourceArgs {

    public static final HeaderMatchArgs Empty = new HeaderMatchArgs();

    /**
     * Exact value of the header
     * 
     */
    @Import(name="exactMatch")
    private @Nullable Output exactMatch;

    /**
     * @return Exact value of the header
     * 
     */
    public Optional> exactMatch() {
        return Optional.ofNullable(this.exactMatch);
    }

    /**
     * Name of the header
     * 
     */
    @Import(name="header")
    private @Nullable Output header;

    /**
     * @return Name of the header
     * 
     */
    public Optional> header() {
        return Optional.ofNullable(this.header);
    }

    /**
     * Prefix value of the header
     * 
     */
    @Import(name="prefixMatch")
    private @Nullable Output prefixMatch;

    /**
     * @return Prefix value of the header
     * 
     */
    public Optional> prefixMatch() {
        return Optional.ofNullable(this.prefixMatch);
    }

    /**
     * Regex value of the header
     * 
     */
    @Import(name="regexMatch")
    private @Nullable Output regexMatch;

    /**
     * @return Regex value of the header
     * 
     */
    public Optional> regexMatch() {
        return Optional.ofNullable(this.regexMatch);
    }

    /**
     * Suffix value of the header
     * 
     */
    @Import(name="suffixMatch")
    private @Nullable Output suffixMatch;

    /**
     * @return Suffix value of the header
     * 
     */
    public Optional> suffixMatch() {
        return Optional.ofNullable(this.suffixMatch);
    }

    private HeaderMatchArgs() {}

    private HeaderMatchArgs(HeaderMatchArgs $) {
        this.exactMatch = $.exactMatch;
        this.header = $.header;
        this.prefixMatch = $.prefixMatch;
        this.regexMatch = $.regexMatch;
        this.suffixMatch = $.suffixMatch;
    }

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

    public static final class Builder {
        private HeaderMatchArgs $;

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

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

        /**
         * @param exactMatch Exact value of the header
         * 
         * @return builder
         * 
         */
        public Builder exactMatch(@Nullable Output exactMatch) {
            $.exactMatch = exactMatch;
            return this;
        }

        /**
         * @param exactMatch Exact value of the header
         * 
         * @return builder
         * 
         */
        public Builder exactMatch(String exactMatch) {
            return exactMatch(Output.of(exactMatch));
        }

        /**
         * @param header Name of the header
         * 
         * @return builder
         * 
         */
        public Builder header(@Nullable Output header) {
            $.header = header;
            return this;
        }

        /**
         * @param header Name of the header
         * 
         * @return builder
         * 
         */
        public Builder header(String header) {
            return header(Output.of(header));
        }

        /**
         * @param prefixMatch Prefix value of the header
         * 
         * @return builder
         * 
         */
        public Builder prefixMatch(@Nullable Output prefixMatch) {
            $.prefixMatch = prefixMatch;
            return this;
        }

        /**
         * @param prefixMatch Prefix value of the header
         * 
         * @return builder
         * 
         */
        public Builder prefixMatch(String prefixMatch) {
            return prefixMatch(Output.of(prefixMatch));
        }

        /**
         * @param regexMatch Regex value of the header
         * 
         * @return builder
         * 
         */
        public Builder regexMatch(@Nullable Output regexMatch) {
            $.regexMatch = regexMatch;
            return this;
        }

        /**
         * @param regexMatch Regex value of the header
         * 
         * @return builder
         * 
         */
        public Builder regexMatch(String regexMatch) {
            return regexMatch(Output.of(regexMatch));
        }

        /**
         * @param suffixMatch Suffix value of the header
         * 
         * @return builder
         * 
         */
        public Builder suffixMatch(@Nullable Output suffixMatch) {
            $.suffixMatch = suffixMatch;
            return this;
        }

        /**
         * @param suffixMatch Suffix value of the header
         * 
         * @return builder
         * 
         */
        public Builder suffixMatch(String suffixMatch) {
            return suffixMatch(Output.of(suffixMatch));
        }

        public HeaderMatchArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy