public static class UpdateListenerDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateListenerDetails.Builder defaultBackendSetName(String defaultBackendSetName)
The name of the associated backend set.
Example: example_backend_set
defaultBackendSetName
- the value to setpublic UpdateListenerDetails.Builder port(Integer port)
The communication port for the listener.
Example: 80
port
- the value to setpublic UpdateListenerDetails.Builder protocol(String protocol)
The protocol on which the listener accepts connection requests. The supported protocols
are HTTP, HTTP2, TCP, and GRPC. You can also use the listProtocols
operation to get a list of valid
protocols.
Example: HTTP
protocol
- the value to setpublic UpdateListenerDetails.Builder hostnameNames(List<String> hostnameNames)
An array of hostname resource names.
hostnameNames
- the value to setpublic UpdateListenerDetails.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 UpdateListenerDetails.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 UpdateListenerDetails.Builder sslConfiguration(SSLConfigurationDetails sslConfiguration)
public UpdateListenerDetails.Builder connectionConfiguration(ConnectionConfiguration connectionConfiguration)
public UpdateListenerDetails.Builder ruleSetNames(List<String> ruleSetNames)
The names of the RuleSet
to apply to the listener.
Example: ["example_rule_set"]
ruleSetNames
- the value to setpublic UpdateListenerDetails build()
public UpdateListenerDetails.Builder copy(UpdateListenerDetails model)
Copyright © 2016–2024. All rights reserved.