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

com.pulumi.consul.outputs.ConfigEntryServiceRouterRouteMatch Maven / Gradle / Ivy

There is a newer version: 3.13.0-alpha.1732771629
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.consul.outputs;

import com.pulumi.consul.outputs.ConfigEntryServiceRouterRouteMatchHttp;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ConfigEntryServiceRouterRouteMatch {
    /**
     * @return Specifies a set of HTTP criteria used to evaluate incoming L7 traffic for matches.
     * 
     */
    private @Nullable ConfigEntryServiceRouterRouteMatchHttp http;

    private ConfigEntryServiceRouterRouteMatch() {}
    /**
     * @return Specifies a set of HTTP criteria used to evaluate incoming L7 traffic for matches.
     * 
     */
    public Optional http() {
        return Optional.ofNullable(this.http);
    }

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

    public static Builder builder(ConfigEntryServiceRouterRouteMatch defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ConfigEntryServiceRouterRouteMatchHttp http;
        public Builder() {}
        public Builder(ConfigEntryServiceRouterRouteMatch defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.http = defaults.http;
        }

        @CustomType.Setter
        public Builder http(@Nullable ConfigEntryServiceRouterRouteMatchHttp http) {

            this.http = http;
            return this;
        }
        public ConfigEntryServiceRouterRouteMatch build() {
            final var _resultValue = new ConfigEntryServiceRouterRouteMatch();
            _resultValue.http = http;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy