@Stability(value=Stable) public static final class IngressV1Beta1Rule.Builder extends Object implements software.amazon.jsii.Builder<IngressV1Beta1Rule>
IngressV1Beta1Rule| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
IngressV1Beta1Rule.Builder |
backend(IngressV1Beta1Backend backend)
Sets the value of
IngressV1Beta1Rule.getBackend() |
IngressV1Beta1Rule |
build()
Builds the configured instance.
|
IngressV1Beta1Rule.Builder |
host(String host)
Sets the value of
IngressV1Beta1Rule.getHost() |
IngressV1Beta1Rule.Builder |
path(String path)
Sets the value of
IngressV1Beta1Rule.getPath() |
@Stability(value=Stable) public IngressV1Beta1Rule.Builder backend(IngressV1Beta1Backend backend)
IngressV1Beta1Rule.getBackend()backend - Backend defines the referenced service endpoint to which the traffic will be forwarded to. This parameter is required.this@Stability(value=Stable) public IngressV1Beta1Rule.Builder host(String host)
IngressV1Beta1Rule.getHost()host - Host is the fully qualified domain name of a network host, as defined by RFC 3986.
Note the following deviations from the "host" part of the URI as
defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue
can only apply to the IP in the Spec of the parent Ingress. 2. The :
delimiter is not respected because ports are not allowed. Currently the
port of an Ingress is implicitly :80 for http and :443 for https. Both
these may change in the future. Incoming requests are matched against the
host before the IngressRuleValue.this@Stability(value=Stable) public IngressV1Beta1Rule.Builder path(String path)
IngressV1Beta1Rule.getPath()path - Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'.this@Stability(value=Stable) public IngressV1Beta1Rule build()
build in interface software.amazon.jsii.Builder<IngressV1Beta1Rule>IngressV1Beta1RuleNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.