public static class ListenerDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListenerDetails |
build() |
ListenerDetails.Builder |
connectionConfiguration(ConnectionConfiguration connectionConfiguration) |
ListenerDetails.Builder |
copy(ListenerDetails model) |
ListenerDetails.Builder |
defaultBackendSetName(String defaultBackendSetName)
The name of the associated backend set.
|
ListenerDetails.Builder |
hostnameNames(List<String> hostnameNames)
An array of hostname resource names.
|
ListenerDetails.Builder |
pathRouteSetName(String pathRouteSetName)
Deprecated.
|
ListenerDetails.Builder |
port(Integer port)
The communication port for the listener.
|
ListenerDetails.Builder |
protocol(String protocol)
The protocol on which the listener accepts connection requests.
|
ListenerDetails.Builder |
routingPolicyName(String routingPolicyName)
The name of the routing policy applied to this listener’s traffic.
|
ListenerDetails.Builder |
ruleSetNames(List<String> ruleSetNames)
The names of the
RuleSet to apply to the listener. |
ListenerDetails.Builder |
sslConfiguration(SSLConfigurationDetails sslConfiguration) |
public ListenerDetails.Builder defaultBackendSetName(String defaultBackendSetName)
The name of the associated backend set.
Example: example_backend_set
defaultBackendSetName
- the value to setpublic ListenerDetails.Builder port(Integer port)
The communication port for the listener.
Example: 80
port
- the value to setpublic ListenerDetails.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 ListenerDetails.Builder hostnameNames(List<String> hostnameNames)
An array of hostname resource names.
hostnameNames
- the value to setpublic ListenerDetails.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 ListenerDetails.Builder sslConfiguration(SSLConfigurationDetails sslConfiguration)
public ListenerDetails.Builder connectionConfiguration(ConnectionConfiguration connectionConfiguration)
public ListenerDetails.Builder routingPolicyName(String routingPolicyName)
The name of the routing policy applied to this listener’s traffic.
Example: example_routing_policy
routingPolicyName
- the value to setpublic ListenerDetails.Builder ruleSetNames(List<String> ruleSetNames)
The names of the RuleSet
to apply to the listener.
Example: ["example_rule_set"]
ruleSetNames
- the value to setpublic ListenerDetails build()
public ListenerDetails.Builder copy(ListenerDetails model)
Copyright © 2016–2023. All rights reserved.