Class CfnNetworkInsightsAnalysis.PathComponentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis.PathComponentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.PathComponentProperty>
- Enclosing interface:
- CfnNetworkInsightsAnalysis.PathComponentProperty
@Stability(Stable)
public static final class CfnNetworkInsightsAnalysis.PathComponentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.PathComponentProperty>
A builder for
CfnNetworkInsightsAnalysis.PathComponentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaclRule(IResolvable aclRule) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getAclRule()Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getAclRule()additionalDetails(List<? extends Object> additionalDetails) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getAdditionalDetails()additionalDetails(IResolvable additionalDetails) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getAdditionalDetails()build()Builds the configured instance.component(IResolvable component) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getComponent()Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getComponent()destinationVpc(IResolvable destinationVpc) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getDestinationVpc()destinationVpc(CfnNetworkInsightsAnalysis.AnalysisComponentProperty destinationVpc) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getDestinationVpc()elasticLoadBalancerListener(IResolvable elasticLoadBalancerListener) elasticLoadBalancerListener(CfnNetworkInsightsAnalysis.AnalysisComponentProperty elasticLoadBalancerListener) explanations(List<? extends Object> explanations) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getExplanations()explanations(IResolvable explanations) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getExplanations()inboundHeader(IResolvable inboundHeader) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getInboundHeader()Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getInboundHeader()outboundHeader(IResolvable outboundHeader) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getOutboundHeader()Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getOutboundHeader()routeTableRoute(IResolvable routeTableRoute) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getRouteTableRoute()Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getRouteTableRoute()securityGroupRule(IResolvable securityGroupRule) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSecurityGroupRule()securityGroupRule(CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty securityGroupRule) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSecurityGroupRule()sequenceNumber(Number sequenceNumber) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSequenceNumber()serviceName(String serviceName) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getServiceName()sourceVpc(IResolvable sourceVpc) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSourceVpc()Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSourceVpc()subnet(IResolvable subnet) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSubnet()Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSubnet()transitGateway(IResolvable transitGateway) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getTransitGateway()transitGateway(CfnNetworkInsightsAnalysis.AnalysisComponentProperty transitGateway) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getTransitGateway()transitGatewayRouteTableRoute(IResolvable transitGatewayRouteTableRoute) transitGatewayRouteTableRoute(CfnNetworkInsightsAnalysis.TransitGatewayRouteTableRouteProperty transitGatewayRouteTableRoute) vpc(IResolvable vpc) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getVpc()Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getVpc()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aclRule
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder aclRule(IResolvable aclRule) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getAclRule()- Parameters:
aclRule- The network ACL rule.- Returns:
this
-
aclRule
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder aclRule(CfnNetworkInsightsAnalysis.AnalysisAclRuleProperty aclRule) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getAclRule()- Parameters:
aclRule- The network ACL rule.- Returns:
this
-
additionalDetails
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder additionalDetails(IResolvable additionalDetails) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getAdditionalDetails()- Parameters:
additionalDetails- The additional details.- Returns:
this
-
additionalDetails
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder additionalDetails(List<? extends Object> additionalDetails) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getAdditionalDetails()- Parameters:
additionalDetails- The additional details.- Returns:
this
-
component
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder component(IResolvable component) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getComponent()- Parameters:
component- The component.- Returns:
this
-
component
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder component(CfnNetworkInsightsAnalysis.AnalysisComponentProperty component) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getComponent()- Parameters:
component- The component.- Returns:
this
-
destinationVpc
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder destinationVpc(IResolvable destinationVpc) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getDestinationVpc()- Parameters:
destinationVpc- The destination VPC.- Returns:
this
-
destinationVpc
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder destinationVpc(CfnNetworkInsightsAnalysis.AnalysisComponentProperty destinationVpc) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getDestinationVpc()- Parameters:
destinationVpc- The destination VPC.- Returns:
this
-
elasticLoadBalancerListener
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder elasticLoadBalancerListener(IResolvable elasticLoadBalancerListener) - Parameters:
elasticLoadBalancerListener- The load balancer listener.- Returns:
this
-
elasticLoadBalancerListener
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder elasticLoadBalancerListener(CfnNetworkInsightsAnalysis.AnalysisComponentProperty elasticLoadBalancerListener) - Parameters:
elasticLoadBalancerListener- The load balancer listener.- Returns:
this
-
explanations
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder explanations(IResolvable explanations) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getExplanations()- Parameters:
explanations- The explanation codes.- Returns:
this
-
explanations
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder explanations(List<? extends Object> explanations) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getExplanations()- Parameters:
explanations- The explanation codes.- Returns:
this
-
inboundHeader
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder inboundHeader(IResolvable inboundHeader) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getInboundHeader()- Parameters:
inboundHeader- The inbound header.- Returns:
this
-
inboundHeader
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder inboundHeader(CfnNetworkInsightsAnalysis.AnalysisPacketHeaderProperty inboundHeader) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getInboundHeader()- Parameters:
inboundHeader- The inbound header.- Returns:
this
-
outboundHeader
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder outboundHeader(IResolvable outboundHeader) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getOutboundHeader()- Parameters:
outboundHeader- The outbound header.- Returns:
this
-
outboundHeader
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder outboundHeader(CfnNetworkInsightsAnalysis.AnalysisPacketHeaderProperty outboundHeader) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getOutboundHeader()- Parameters:
outboundHeader- The outbound header.- Returns:
this
-
routeTableRoute
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder routeTableRoute(IResolvable routeTableRoute) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getRouteTableRoute()- Parameters:
routeTableRoute- The route table route.- Returns:
this
-
routeTableRoute
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder routeTableRoute(CfnNetworkInsightsAnalysis.AnalysisRouteTableRouteProperty routeTableRoute) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getRouteTableRoute()- Parameters:
routeTableRoute- The route table route.- Returns:
this
-
securityGroupRule
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder securityGroupRule(IResolvable securityGroupRule) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSecurityGroupRule()- Parameters:
securityGroupRule- The security group rule.- Returns:
this
-
securityGroupRule
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder securityGroupRule(CfnNetworkInsightsAnalysis.AnalysisSecurityGroupRuleProperty securityGroupRule) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSecurityGroupRule()- Parameters:
securityGroupRule- The security group rule.- Returns:
this
-
sequenceNumber
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder sequenceNumber(Number sequenceNumber) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSequenceNumber()- Parameters:
sequenceNumber- The sequence number.- Returns:
this
-
serviceName
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder serviceName(String serviceName) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getServiceName()- Parameters:
serviceName- The name of the VPC endpoint service.- Returns:
this
-
sourceVpc
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder sourceVpc(IResolvable sourceVpc) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSourceVpc()- Parameters:
sourceVpc- The source VPC.- Returns:
this
-
sourceVpc
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder sourceVpc(CfnNetworkInsightsAnalysis.AnalysisComponentProperty sourceVpc) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSourceVpc()- Parameters:
sourceVpc- The source VPC.- Returns:
this
-
subnet
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder subnet(IResolvable subnet) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSubnet()- Parameters:
subnet- The subnet.- Returns:
this
-
subnet
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder subnet(CfnNetworkInsightsAnalysis.AnalysisComponentProperty subnet) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getSubnet()- Parameters:
subnet- The subnet.- Returns:
this
-
transitGateway
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder transitGateway(IResolvable transitGateway) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getTransitGateway()- Parameters:
transitGateway- The transit gateway.- Returns:
this
-
transitGateway
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder transitGateway(CfnNetworkInsightsAnalysis.AnalysisComponentProperty transitGateway) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getTransitGateway()- Parameters:
transitGateway- The transit gateway.- Returns:
this
-
transitGatewayRouteTableRoute
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder transitGatewayRouteTableRoute(IResolvable transitGatewayRouteTableRoute) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getTransitGatewayRouteTableRoute()- Parameters:
transitGatewayRouteTableRoute- The route in a transit gateway route table.- Returns:
this
-
transitGatewayRouteTableRoute
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder transitGatewayRouteTableRoute(CfnNetworkInsightsAnalysis.TransitGatewayRouteTableRouteProperty transitGatewayRouteTableRoute) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getTransitGatewayRouteTableRoute()- Parameters:
transitGatewayRouteTableRoute- The route in a transit gateway route table.- Returns:
this
-
vpc
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder vpc(IResolvable vpc) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getVpc()- Parameters:
vpc- The component VPC.- Returns:
this
-
vpc
@Stability(Stable) public CfnNetworkInsightsAnalysis.PathComponentProperty.Builder vpc(CfnNetworkInsightsAnalysis.AnalysisComponentProperty vpc) Sets the value ofCfnNetworkInsightsAnalysis.PathComponentProperty.getVpc()- Parameters:
vpc- The component VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsAnalysis.PathComponentProperty>- Returns:
- a new instance of
CfnNetworkInsightsAnalysis.PathComponentProperty - Throws:
NullPointerException- if any required attribute was not provided
-