Package software.amazon.awscdk.cxapi
Class LoadBalancerListenerContextResponse.Builder
java.lang.Object
software.amazon.awscdk.cxapi.LoadBalancerListenerContextResponse.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoadBalancerListenerContextResponse>
- Enclosing interface:
LoadBalancerListenerContextResponse
@Stability(Stable)
public static final class LoadBalancerListenerContextResponse.Builder
extends Object
implements software.amazon.jsii.Builder<LoadBalancerListenerContextResponse>
A builder for
LoadBalancerListenerContextResponse-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.listenerArn(String listenerArn) Sets the value ofLoadBalancerListenerContextResponse.getListenerArn()listenerPort(Number listenerPort) Sets the value ofLoadBalancerListenerContextResponse.getListenerPort()securityGroupIds(List<String> securityGroupIds) Sets the value ofLoadBalancerListenerContextResponse.getSecurityGroupIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
listenerArn
@Stability(Stable) public LoadBalancerListenerContextResponse.Builder listenerArn(String listenerArn) Sets the value ofLoadBalancerListenerContextResponse.getListenerArn()- Parameters:
listenerArn- The ARN of the listener. This parameter is required.- Returns:
this
-
listenerPort
@Stability(Stable) public LoadBalancerListenerContextResponse.Builder listenerPort(Number listenerPort) Sets the value ofLoadBalancerListenerContextResponse.getListenerPort()- Parameters:
listenerPort- The port the listener is listening on. This parameter is required.- Returns:
this
-
securityGroupIds
@Stability(Stable) public LoadBalancerListenerContextResponse.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofLoadBalancerListenerContextResponse.getSecurityGroupIds()- Parameters:
securityGroupIds- The security groups of the load balancer. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoadBalancerListenerContextResponse>- Returns:
- a new instance of
LoadBalancerListenerContextResponse - Throws:
NullPointerException- if any required attribute was not provided
-