Class BaseLoadBalancerLookupOptions.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.BaseLoadBalancerLookupOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BaseLoadBalancerLookupOptions>
- Enclosing interface:
BaseLoadBalancerLookupOptions
@Stability(Stable)
public static final class BaseLoadBalancerLookupOptions.Builder
extends Object
implements software.amazon.jsii.Builder<BaseLoadBalancerLookupOptions>
A builder for
BaseLoadBalancerLookupOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.loadBalancerArn
(String loadBalancerArn) Sets the value ofBaseLoadBalancerLookupOptions.getLoadBalancerArn()
loadBalancerTags
(Map<String, String> loadBalancerTags) Sets the value ofBaseLoadBalancerLookupOptions.getLoadBalancerTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loadBalancerArn
@Stability(Stable) public BaseLoadBalancerLookupOptions.Builder loadBalancerArn(String loadBalancerArn) Sets the value ofBaseLoadBalancerLookupOptions.getLoadBalancerArn()
- Parameters:
loadBalancerArn
- Find by load balancer's ARN.- Returns:
this
-
loadBalancerTags
@Stability(Stable) public BaseLoadBalancerLookupOptions.Builder loadBalancerTags(Map<String, String> loadBalancerTags) Sets the value ofBaseLoadBalancerLookupOptions.getLoadBalancerTags()
- Parameters:
loadBalancerTags
- Match load balancer tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BaseLoadBalancerLookupOptions>
- Returns:
- a new instance of
BaseLoadBalancerLookupOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-