Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Listener |
build() |
Listener.Builder |
connectionConfiguration(ConnectionConfiguration connectionConfiguration) |
Listener.Builder |
copy(Listener model) |
Listener.Builder |
defaultBackendSetName(String defaultBackendSetName)
The name of the associated backend set.
|
Listener.Builder |
hostnameNames(List<String> hostnameNames)
An array of hostname resource names.
|
Listener.Builder |
name(String name)
A friendly name for the listener.
|
Listener.Builder |
pathRouteSetName(String pathRouteSetName)
Deprecated.
|
Listener.Builder |
port(Integer port)
The communication port for the listener.
|
Listener.Builder |
protocol(String protocol)
The protocol on which the listener accepts connection requests.
|
Listener.Builder |
routingPolicyName(String routingPolicyName)
The name of the routing policy applied to this listener’s traffic.
|
Listener.Builder |
ruleSetNames(List<String> ruleSetNames)
The names of the
RuleSet to apply to the listener. |
Listener.Builder |
sslConfiguration(SSLConfiguration sslConfiguration) |
public Listener.Builder name(String name)
A friendly name for the listener. It must be unique and it cannot be changed.
Example: example_listener
name
- the value to setpublic Listener.Builder defaultBackendSetName(String defaultBackendSetName)
The name of the associated backend set.
Example: example_backend_set
defaultBackendSetName
- the value to setpublic Listener.Builder port(Integer port)
The communication port for the listener.
Example: 80
port
- the value to setpublic Listener.Builder protocol(String protocol)
The protocol on which the listener accepts connection requests. To get a list of valid
protocols, use the listProtocols
operation.
Example: HTTP
protocol
- the value to setpublic Listener.Builder hostnameNames(List<String> hostnameNames)
An array of hostname resource names.
hostnameNames
- the value to setpublic Listener.Builder pathRouteSetName(String pathRouteSetName)
Deprecated. Please use routingPolicies
instead.
The name of the set of path-based routing rules, PathRouteSet
, applied to this
listener's traffic.
Example: example_path_route_set
pathRouteSetName
- the value to setpublic Listener.Builder sslConfiguration(SSLConfiguration sslConfiguration)
public Listener.Builder connectionConfiguration(ConnectionConfiguration connectionConfiguration)
public Listener.Builder ruleSetNames(List<String> ruleSetNames)
The names of the RuleSet
to apply to the listener.
Example: ["example_rule_set"]
ruleSetNames
- the value to setpublic Listener.Builder routingPolicyName(String routingPolicyName)
The name of the routing policy applied to this listener’s traffic.
Example: example_routing_policy_name
routingPolicyName
- the value to setpublic Listener build()
public Listener.Builder copy(Listener model)
Copyright © 2016–2024. All rights reserved.