Class CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty>
- Enclosing interface:
CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty
@Stability(Stable)
public static final class CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationCidr(String destinationCidr) destinationPrefixListId(String destinationPrefixListId) egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId) instanceId(String instanceId) natGatewayId(String natGatewayId) networkInterfaceId(String networkInterfaceId) transitGatewayId(String transitGatewayId) vpcPeeringConnectionId(String vpcPeeringConnectionId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationCidr
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder destinationCidr(String destinationCidr) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.getDestinationCidr()- Parameters:
destinationCidr- The destination IPv4 address, in CIDR notation.- Returns:
this
-
destinationPrefixListId
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder destinationPrefixListId(String destinationPrefixListId) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.getDestinationPrefixListId()- Parameters:
destinationPrefixListId- The prefix of the AWS service.- Returns:
this
-
egressOnlyInternetGatewayId
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.getEgressOnlyInternetGatewayId()- Parameters:
egressOnlyInternetGatewayId- The ID of an egress-only internet gateway.- Returns:
this
-
gatewayId
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder gatewayId(String gatewayId) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.getGatewayId()- Parameters:
gatewayId- The ID of the gateway, such as an internet gateway or virtual private gateway.- Returns:
this
-
instanceId
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder instanceId(String instanceId) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.getInstanceId()- Parameters:
instanceId- The ID of the instance, such as a NAT instance.- Returns:
this
-
natGatewayId
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder natGatewayId(String natGatewayId) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.getNatGatewayId()- Parameters:
natGatewayId- The ID of a NAT gateway.- Returns:
this
-
networkInterfaceId
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder networkInterfaceId(String networkInterfaceId) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.getNetworkInterfaceId()- Parameters:
networkInterfaceId- The ID of a network interface.- Returns:
this
-
origin
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder origin(String origin) - Parameters:
origin- Describes how the route was created. The following are the possible values:.- CreateRouteTable - The route was automatically created when the route table was created.
- CreateRoute - The route was manually added to the route table.
- EnableVgwRoutePropagation - The route was propagated by route propagation.
- Returns:
this
-
state
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder state(String state) - Parameters:
state- The state. The following are the possible values:.- active
- blackhole
- Returns:
this
-
transitGatewayId
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder transitGatewayId(String transitGatewayId) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.getTransitGatewayId()- Parameters:
transitGatewayId- The ID of a transit gateway.- Returns:
this
-
vpcPeeringConnectionId
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId) Sets the value ofCfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty.getVpcPeeringConnectionId()- Parameters:
vpcPeeringConnectionId- The ID of a VPC peering connection.- Returns:
this
-
build
@Stability(Stable) public CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty>- Returns:
- a new instance of
CfnNetworkInsightsAnalysisPropsMixin.AnalysisRouteTableRouteProperty - Throws:
NullPointerException- if any required attribute was not provided
-