| Modifier and Type | Method and Description |
|---|---|
Ingress |
build() |
static Ingress.Builder |
create(software.constructs.Construct scope,
String id) |
Ingress.Builder |
defaultBackend(IngressBackend defaultBackend)
(experimental) The default backend services requests that do not match any rule.
|
Ingress.Builder |
metadata(ApiObjectMetadata metadata)
(experimental) Metadata that all persisted resources must have, which includes all objects users must create.
|
Ingress.Builder |
rules(List<? extends IngressRule> rules)
(experimental) Routing rules for this ingress.
|
@Stability(value=Experimental) public static Ingress.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Ingress.Builder.@Stability(value=Experimental) public Ingress.Builder metadata(ApiObjectMetadata metadata)
metadata - Metadata that all persisted resources must have, which includes all objects users must create. This parameter is required.this@Stability(value=Experimental) public Ingress.Builder defaultBackend(IngressBackend defaultBackend)
Using this option or the addDefaultBackend() method is equivalent to
adding a rule with both path and host undefined.
defaultBackend - The default backend services requests that do not match any rule. This parameter is required.this@Stability(value=Experimental) public Ingress.Builder rules(List<? extends IngressRule> rules)
Each rule must define an IngressBackend that will receive the requests
that match this rule. If both host and path are not specifiec, this
backend will be used as the default backend of the ingress.
You can also add rules later using addRule(), addHostRule(),
addDefaultBackend() and addHostDefaultBackend().
rules - Routing rules for this ingress. This parameter is required.thisCopyright © 2020. All rights reserved.