Class CfnNetworkInsightsAnalysis.AnalysisLoadBalancerListenerProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis.AnalysisLoadBalancerListenerProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.AnalysisLoadBalancerListenerProperty>
- Enclosing interface:
CfnNetworkInsightsAnalysis.AnalysisLoadBalancerListenerProperty
@Stability(Stable)
public static final class CfnNetworkInsightsAnalysis.AnalysisLoadBalancerListenerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.AnalysisLoadBalancerListenerProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instancePort(Number instancePort) loadBalancerPort(Number loadBalancerPort)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instancePort
@Stability(Stable) public CfnNetworkInsightsAnalysis.AnalysisLoadBalancerListenerProperty.Builder instancePort(Number instancePort) - Parameters:
instancePort- [Classic Load Balancers] The back-end port for the listener.- Returns:
this
-
loadBalancerPort
@Stability(Stable) public CfnNetworkInsightsAnalysis.AnalysisLoadBalancerListenerProperty.Builder loadBalancerPort(Number loadBalancerPort) Sets the value ofCfnNetworkInsightsAnalysis.AnalysisLoadBalancerListenerProperty.getLoadBalancerPort()- Parameters:
loadBalancerPort- The port on which the load balancer is listening.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.AnalysisLoadBalancerListenerProperty>- Returns:
- a new instance of
CfnNetworkInsightsAnalysis.AnalysisLoadBalancerListenerProperty - Throws:
NullPointerException- if any required attribute was not provided
-