@Stability(value=Experimental) public static final class NetworkListenerProps.Builder extends Object implements software.amazon.jsii.Builder<NetworkListenerProps>
NetworkListenerProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
NetworkListenerProps |
build()
Builds the configured instance.
|
NetworkListenerProps.Builder |
name(String name)
Sets the value of
NetworkListenerProps.getName() |
NetworkListenerProps.Builder |
port(Number port)
Sets the value of
NetworkListenerProps.getPort() |
@Stability(value=Experimental) public NetworkListenerProps.Builder name(String name)
NetworkListenerProps.getName()name - Name of the listener. This parameter is required.this@Stability(value=Experimental) public NetworkListenerProps.Builder port(Number port)
NetworkListenerProps.getPort()port - The port on which the listener listens for requests.this@Stability(value=Experimental) public NetworkListenerProps build()
build in interface software.amazon.jsii.Builder<NetworkListenerProps>NetworkListenerPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.