Class UpdateListenerDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.UpdateListenerDetails.Builder
-
- Enclosing class:
- UpdateListenerDetails
public static class UpdateListenerDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
defaultBackendSetName
public UpdateListenerDetails.Builder defaultBackendSetName(String defaultBackendSetName)
The name of the associated backend set.Example: example_backend_set
- Parameters:
defaultBackendSetName
- the value to set- Returns:
- this builder
-
port
public UpdateListenerDetails.Builder port(Integer port)
The communication port for the listener.Example: 80
- Parameters:
port
- the value to set- Returns:
- this builder
-
protocol
public UpdateListenerDetails.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
- Parameters:
protocol
- the value to set- Returns:
- this builder
-
hostnameNames
public UpdateListenerDetails.Builder hostnameNames(List<String> hostnameNames)
An array of hostname resource names.- Parameters:
hostnameNames
- the value to set- Returns:
- this builder
-
pathRouteSetName
public 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
- Parameters:
pathRouteSetName
- the value to set- Returns:
- this builder
-
routingPolicyName
public UpdateListenerDetails.Builder routingPolicyName(String routingPolicyName)
The name of the routing policy applied to this listener’s traffic.Example: example_routing_policy
- Parameters:
routingPolicyName
- the value to set- Returns:
- this builder
-
sslConfiguration
public UpdateListenerDetails.Builder sslConfiguration(SSLConfigurationDetails sslConfiguration)
-
connectionConfiguration
public UpdateListenerDetails.Builder connectionConfiguration(ConnectionConfiguration connectionConfiguration)
-
ruleSetNames
public UpdateListenerDetails.Builder ruleSetNames(List<String> ruleSetNames)
The names of theRuleSet
to apply to the listener.Example: ["example_rule_set"]
- Parameters:
ruleSetNames
- the value to set- Returns:
- this builder
-
build
public UpdateListenerDetails build()
-
copy
public UpdateListenerDetails.Builder copy(UpdateListenerDetails model)
-
-