public static final class NetworkListenerLookupOptions.Builder
extends java.lang.Object
NetworkListenerLookupOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NetworkListenerLookupOptions |
build()
Builds the configured instance.
|
NetworkListenerLookupOptions.Builder |
listenerPort(java.lang.Number listenerPort)
Sets the value of
BaseListenerLookupOptions.getListenerPort() |
NetworkListenerLookupOptions.Builder |
listenerProtocol(Protocol listenerProtocol)
Sets the value of
NetworkListenerLookupOptions.getListenerProtocol() |
NetworkListenerLookupOptions.Builder |
loadBalancerArn(java.lang.String loadBalancerArn)
Sets the value of
BaseListenerLookupOptions.getLoadBalancerArn() |
NetworkListenerLookupOptions.Builder |
loadBalancerTags(java.util.Map<java.lang.String,java.lang.String> loadBalancerTags)
Sets the value of
BaseListenerLookupOptions.getLoadBalancerTags() |
public NetworkListenerLookupOptions.Builder listenerProtocol(Protocol listenerProtocol)
NetworkListenerLookupOptions.getListenerProtocol()
listenerProtocol
- Protocol of the listener port.this
public NetworkListenerLookupOptions.Builder listenerPort(java.lang.Number listenerPort)
BaseListenerLookupOptions.getListenerPort()
listenerPort
- Filter listeners by listener port.this
public NetworkListenerLookupOptions.Builder loadBalancerArn(java.lang.String loadBalancerArn)
BaseListenerLookupOptions.getLoadBalancerArn()
loadBalancerArn
- Filter listeners by associated load balancer arn.this
public NetworkListenerLookupOptions.Builder loadBalancerTags(java.util.Map<java.lang.String,java.lang.String> loadBalancerTags)
BaseListenerLookupOptions.getLoadBalancerTags()
loadBalancerTags
- Filter listeners by associated load balancer tags.this
public NetworkListenerLookupOptions build()
NetworkListenerLookupOptions
java.lang.NullPointerException
- if any required attribute was not provided