Class CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty>
- Enclosing interface:
CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty
@Stability(Stable)
public static final class CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) build()
Builds the configured instance.instance
(IResolvable instance) Sets the value ofCfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
@Stability(Stable) public CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty.Builder address(String address) - Parameters:
address
- The IP address.- Returns:
this
-
availabilityZone
@Stability(Stable) public CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty.Builder availabilityZone(String availabilityZone) Sets the value ofCfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty.getAvailabilityZone()
- Parameters:
availabilityZone
- The Availability Zone.- Returns:
this
-
instance
@Stability(Stable) public CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty.Builder instance(IResolvable instance) - Parameters:
instance
- Information about the instance.- Returns:
this
-
instance
@Stability(Stable) public CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty.Builder instance(CfnNetworkInsightsAnalysis.AnalysisComponentProperty instance) - Parameters:
instance
- Information about the instance.- Returns:
this
-
port
@Stability(Stable) public CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty.Builder port(Number port) Sets the value ofCfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty.getPort()
- Parameters:
port
- The port on which the target is listening.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty>
- Returns:
- a new instance of
CfnNetworkInsightsAnalysis.AnalysisLoadBalancerTargetProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-