
com.pulumi.consul.outputs.ConfigEntryServiceRouterRouteMatch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of consul Show documentation
Show all versions of consul Show documentation
A Pulumi package for creating and managing consul resources.
// *** 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