@Stability(value=Experimental) public static final class ListenerProps.Builder extends Object implements software.amazon.jsii.Builder<ListenerProps>
ListenerProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ListenerProps.Builder |
accelerator(IAccelerator accelerator)
Sets the value of
ListenerProps.getAccelerator() |
ListenerProps |
build()
Builds the configured instance.
|
ListenerProps.Builder |
clientAffinity(ClientAffinity clientAffinity)
Sets the value of
ListenerProps.getClientAffinity() |
ListenerProps.Builder |
listenerName(String listenerName)
Sets the value of
ListenerProps.getListenerName() |
ListenerProps.Builder |
portRanges(List<? extends PortRange> portRanges)
Sets the value of
ListenerProps.getPortRanges() |
ListenerProps.Builder |
protocol(ConnectionProtocol protocol)
Sets the value of
ListenerProps.getProtocol() |
@Stability(value=Experimental) public ListenerProps.Builder accelerator(IAccelerator accelerator)
ListenerProps.getAccelerator()accelerator - The accelerator for this listener. This parameter is required.this@Stability(value=Experimental) public ListenerProps.Builder portRanges(List<? extends PortRange> portRanges)
ListenerProps.getPortRanges()portRanges - The list of port ranges for the connections from clients to the accelerator. This parameter is required.this@Stability(value=Experimental) public ListenerProps.Builder clientAffinity(ClientAffinity clientAffinity)
ListenerProps.getClientAffinity()clientAffinity - Client affinity to direct all requests from a user to the same endpoint.this@Stability(value=Experimental) public ListenerProps.Builder listenerName(String listenerName)
ListenerProps.getListenerName()listenerName - Name of the listener.this@Stability(value=Experimental) public ListenerProps.Builder protocol(ConnectionProtocol protocol)
ListenerProps.getProtocol()protocol - The protocol for the connections from clients to the accelerator.this@Stability(value=Experimental) public ListenerProps build()
build in interface software.amazon.jsii.Builder<ListenerProps>ListenerPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.