public static class CreateListenerDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateListenerDetails.Builder defaultBackendSetName(String defaultBackendSetName)
The name of the associated backend set.
Example: example_backend_set
defaultBackendSetName
- the value to setpublic CreateListenerDetails.Builder port(Integer port)
The communication port for the listener.
Example: 80
port
- the value to setpublic CreateListenerDetails.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 CreateListenerDetails.Builder hostnameNames(List<String> hostnameNames)
An array of hostname resource names.
hostnameNames
- the value to setpublic CreateListenerDetails.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 CreateListenerDetails.Builder sslConfiguration(SSLConfigurationDetails sslConfiguration)
public CreateListenerDetails.Builder connectionConfiguration(ConnectionConfiguration connectionConfiguration)
public CreateListenerDetails.Builder name(String name)
A friendly name for the listener. It must be unique and it cannot be changed. Avoid entering confidential information.
Example: example_listener
name
- the value to setpublic CreateListenerDetails.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 CreateListenerDetails.Builder ruleSetNames(List<String> ruleSetNames)
The names of the RuleSet
to apply to the listener.
Example: ["example_rule_set"]
ruleSetNames
- the value to setpublic CreateListenerDetails build()
public CreateListenerDetails.Builder copy(CreateListenerDetails model)
Copyright © 2016–2024. All rights reserved.