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

com.pulumi.azurenative.app.outputs.HeaderMatchResponse 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class HeaderMatchResponse {
    /**
     * @return Exact value of the header
     * 
     */
    private @Nullable String exactMatch;
    /**
     * @return Name of the header
     * 
     */
    private @Nullable String header;
    /**
     * @return Prefix value of the header
     * 
     */
    private @Nullable String prefixMatch;
    /**
     * @return Regex value of the header
     * 
     */
    private @Nullable String regexMatch;
    /**
     * @return Suffix value of the header
     * 
     */
    private @Nullable String suffixMatch;

    private HeaderMatchResponse() {}
    /**
     * @return Exact value of the header
     * 
     */
    public Optional exactMatch() {
        return Optional.ofNullable(this.exactMatch);
    }
    /**
     * @return Name of the header
     * 
     */
    public Optional header() {
        return Optional.ofNullable(this.header);
    }
    /**
     * @return Prefix value of the header
     * 
     */
    public Optional prefixMatch() {
        return Optional.ofNullable(this.prefixMatch);
    }
    /**
     * @return Regex value of the header
     * 
     */
    public Optional regexMatch() {
        return Optional.ofNullable(this.regexMatch);
    }
    /**
     * @return Suffix value of the header
     * 
     */
    public Optional suffixMatch() {
        return Optional.ofNullable(this.suffixMatch);
    }

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

    public static Builder builder(HeaderMatchResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String exactMatch;
        private @Nullable String header;
        private @Nullable String prefixMatch;
        private @Nullable String regexMatch;
        private @Nullable String suffixMatch;
        public Builder() {}
        public Builder(HeaderMatchResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.exactMatch = defaults.exactMatch;
    	      this.header = defaults.header;
    	      this.prefixMatch = defaults.prefixMatch;
    	      this.regexMatch = defaults.regexMatch;
    	      this.suffixMatch = defaults.suffixMatch;
        }

        @CustomType.Setter
        public Builder exactMatch(@Nullable String exactMatch) {

            this.exactMatch = exactMatch;
            return this;
        }
        @CustomType.Setter
        public Builder header(@Nullable String header) {

            this.header = header;
            return this;
        }
        @CustomType.Setter
        public Builder prefixMatch(@Nullable String prefixMatch) {

            this.prefixMatch = prefixMatch;
            return this;
        }
        @CustomType.Setter
        public Builder regexMatch(@Nullable String regexMatch) {

            this.regexMatch = regexMatch;
            return this;
        }
        @CustomType.Setter
        public Builder suffixMatch(@Nullable String suffixMatch) {

            this.suffixMatch = suffixMatch;
            return this;
        }
        public HeaderMatchResponse build() {
            final var _resultValue = new HeaderMatchResponse();
            _resultValue.exactMatch = exactMatch;
            _resultValue.header = header;
            _resultValue.prefixMatch = prefixMatch;
            _resultValue.regexMatch = regexMatch;
            _resultValue.suffixMatch = suffixMatch;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy