public static class UpdateListenerDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateListenerDetails |
build() |
UpdateListenerDetails.Builder |
copy(UpdateListenerDetails model) |
UpdateListenerDetails.Builder |
defaultBackendSetName(String defaultBackendSetName)
The name of the associated backend set.
|
UpdateListenerDetails.Builder |
ipVersion(IpVersion ipVersion)
IP version associated with the listener.
|
UpdateListenerDetails.Builder |
isPpv2Enabled(Boolean isPpv2Enabled)
Property to enable/disable PPv2 feature for this listener.
|
UpdateListenerDetails.Builder |
port(Integer port)
The communication port for the listener.
|
UpdateListenerDetails.Builder |
protocol(ListenerProtocols protocol)
The protocol on which the listener accepts connection requests.
|
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(ListenerProtocols protocol)
The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). “ListNetworkLoadBalancersProtocols” API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead.
Example: TCP
protocol
- the value to setpublic UpdateListenerDetails.Builder ipVersion(IpVersion ipVersion)
IP version associated with the listener.
ipVersion
- the value to setpublic UpdateListenerDetails.Builder isPpv2Enabled(Boolean isPpv2Enabled)
Property to enable/disable PPv2 feature for this listener.
isPpv2Enabled
- the value to setpublic UpdateListenerDetails build()
public UpdateListenerDetails.Builder copy(UpdateListenerDetails model)
Copyright © 2016–2024. All rights reserved.