Package com.oracle.bmc.servicemesh.model
Class IngressGatewayHost.Builder
- java.lang.Object
-
- com.oracle.bmc.servicemesh.model.IngressGatewayHost.Builder
-
- Enclosing class:
- IngressGatewayHost
public static class IngressGatewayHost.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
name
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
- Parameters:
name
- the value to set- Returns:
- this builder
-
hostnames
public 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”.
- Parameters:
hostnames
- the value to set- Returns:
- this builder
-
listeners
public IngressGatewayHost.Builder listeners(List<IngressGatewayListener> listeners)
The listeners for the ingress gateway.- Parameters:
listeners
- the value to set- Returns:
- this builder
-
build
public IngressGatewayHost build()
-
copy
public IngressGatewayHost.Builder copy(IngressGatewayHost model)
-
-