public static class IngressGatewayHost.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
IngressGatewayHost |
build() |
IngressGatewayHost.Builder |
copy(IngressGatewayHost model) |
IngressGatewayHost.Builder |
hostnames(List<String> hostnames)
Hostnames of the host.
|
IngressGatewayHost.Builder |
listeners(List<IngressGatewayListener> listeners)
The listeners for the ingress gateway.
|
IngressGatewayHost.Builder |
name(String name)
A user-friendly name for the host.
|
public IngressGatewayHost.Builder name(String name)
A user-friendly name for the host. The name must be unique within the same ingress gateway. This name can be used in the ingress gateway route table resource to attach a route to this host.
Example: MyExampleHost
name
- the value to setpublic IngressGatewayHost.Builder hostnames(List<String> hostnames)
Hostnames of the host. Applicable only for HTTP and TLS_PASSTHROUGH listeners. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are “www.example.com”, “*.example.com”, “*.com”.
hostnames
- the value to setpublic IngressGatewayHost.Builder listeners(List<IngressGatewayListener> listeners)
The listeners for the ingress gateway.
listeners
- the value to setpublic IngressGatewayHost build()
public IngressGatewayHost.Builder copy(IngressGatewayHost model)
Copyright © 2016–2024. All rights reserved.