Class BaseListenerLookupOptions.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.BaseListenerLookupOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BaseListenerLookupOptions>
- Enclosing interface:
BaseListenerLookupOptions
@Stability(Stable)
public static final class BaseListenerLookupOptions.Builder
extends Object
implements software.amazon.jsii.Builder<BaseListenerLookupOptions>
A builder for
BaseListenerLookupOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.listenerPort(Number listenerPort) Sets the value ofBaseListenerLookupOptions.getListenerPort()loadBalancerArn(String loadBalancerArn) Sets the value ofBaseListenerLookupOptions.getLoadBalancerArn()loadBalancerTags(Map<String, String> loadBalancerTags) Sets the value ofBaseListenerLookupOptions.getLoadBalancerTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
listenerPort
Sets the value ofBaseListenerLookupOptions.getListenerPort()- Parameters:
listenerPort- Filter listeners by listener port.- Returns:
this
-
loadBalancerArn
Sets the value ofBaseListenerLookupOptions.getLoadBalancerArn()- Parameters:
loadBalancerArn- Filter listeners by associated load balancer arn.- Returns:
this
-
loadBalancerTags
@Stability(Stable) public BaseListenerLookupOptions.Builder loadBalancerTags(Map<String, String> loadBalancerTags) Sets the value ofBaseListenerLookupOptions.getLoadBalancerTags()- Parameters:
loadBalancerTags- Filter listeners by associated load balancer tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BaseListenerLookupOptions>- Returns:
- a new instance of
BaseListenerLookupOptions - Throws:
NullPointerException- if any required attribute was not provided
-