Class ListenerDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.ListenerDetails.Builder
-
- Enclosing class:
- ListenerDetails
public static class ListenerDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerDetailsbuild()ListenerDetails.BuilderconnectionConfiguration(ConnectionConfiguration connectionConfiguration)ListenerDetails.Buildercopy(ListenerDetails model)ListenerDetails.BuilderdefaultBackendSetName(String defaultBackendSetName)The name of the associated backend set.ListenerDetails.BuilderhostnameNames(List<String> hostnameNames)An array of hostname resource names.ListenerDetails.BuilderpathRouteSetName(String pathRouteSetName)Deprecated.ListenerDetails.Builderport(Integer port)The communication port for the listener.ListenerDetails.Builderprotocol(String protocol)The protocol on which the listener accepts connection requests.ListenerDetails.BuilderroutingPolicyName(String routingPolicyName)The name of the routing policy applied to this listener’s traffic.ListenerDetails.BuilderruleSetNames(List<String> ruleSetNames)The names of theRuleSetto apply to the listener.ListenerDetails.BuildersslConfiguration(SSLConfigurationDetails sslConfiguration)
-
-
-
Method Detail
-
defaultBackendSetName
public ListenerDetails.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 ListenerDetails.Builder port(Integer port)
The communication port for the listener.Example: 80
- Parameters:
port- the value to set- Returns:
- this builder
-
protocol
public ListenerDetails.Builder protocol(String protocol)
The protocol on which the listener accepts connection requests.To get a list of valid protocols, use the
listProtocolsoperation.Example: HTTP
- Parameters:
protocol- the value to set- Returns:
- this builder
-
hostnameNames
public ListenerDetails.Builder hostnameNames(List<String> hostnameNames)
An array of hostname resource names.- Parameters:
hostnameNames- the value to set- Returns:
- this builder
-
pathRouteSetName
public 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
- Parameters:
pathRouteSetName- the value to set- Returns:
- this builder
-
sslConfiguration
public ListenerDetails.Builder sslConfiguration(SSLConfigurationDetails sslConfiguration)
-
connectionConfiguration
public ListenerDetails.Builder connectionConfiguration(ConnectionConfiguration connectionConfiguration)
-
routingPolicyName
public ListenerDetails.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
-
ruleSetNames
public ListenerDetails.Builder ruleSetNames(List<String> ruleSetNames)
The names of theRuleSetto apply to the listener.Example: ["example_rule_set"]
- Parameters:
ruleSetNames- the value to set- Returns:
- this builder
-
build
public ListenerDetails build()
-
copy
public ListenerDetails.Builder copy(ListenerDetails model)
-
-