Interface NetworkFirewallInvalidRouteConfigurationViolation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkFirewallInvalidRouteConfigurationViolation.Builder,
,NetworkFirewallInvalidRouteConfigurationViolation> SdkBuilder<NetworkFirewallInvalidRouteConfigurationViolation.Builder,
,NetworkFirewallInvalidRouteConfigurationViolation> SdkPojo
- Enclosing class:
NetworkFirewallInvalidRouteConfigurationViolation
-
Method Summary
Modifier and TypeMethodDescriptionactualFirewallEndpoint
(String actualFirewallEndpoint) The actual firewall endpoint.actualFirewallSubnetId
(String actualFirewallSubnetId) The actual subnet ID for the firewall.actualFirewallSubnetRoutes
(Collection<Route> actualFirewallSubnetRoutes) The actual firewall subnet routes that are expected.actualFirewallSubnetRoutes
(Consumer<Route.Builder>... actualFirewallSubnetRoutes) The actual firewall subnet routes that are expected.actualFirewallSubnetRoutes
(Route... actualFirewallSubnetRoutes) The actual firewall subnet routes that are expected.actualInternetGatewayRoutes
(Collection<Route> actualInternetGatewayRoutes) The actual internet gateway routes.actualInternetGatewayRoutes
(Consumer<Route.Builder>... actualInternetGatewayRoutes) The actual internet gateway routes.actualInternetGatewayRoutes
(Route... actualInternetGatewayRoutes) The actual internet gateway routes.affectedSubnets
(String... affectedSubnets) The subnets that are affected.affectedSubnets
(Collection<String> affectedSubnets) The subnets that are affected.currentFirewallSubnetRouteTable
(String currentFirewallSubnetRouteTable) The subnet route table for the current firewall.currentInternetGatewayRouteTable
(String currentInternetGatewayRouteTable) The route table for the current internet gateway.expectedFirewallEndpoint
(String expectedFirewallEndpoint) The firewall endpoint that's expected.expectedFirewallSubnetId
(String expectedFirewallSubnetId) The expected subnet ID for the firewall.expectedFirewallSubnetRoutes
(Collection<ExpectedRoute> expectedFirewallSubnetRoutes) The firewall subnet routes that are expected.expectedFirewallSubnetRoutes
(Consumer<ExpectedRoute.Builder>... expectedFirewallSubnetRoutes) The firewall subnet routes that are expected.expectedFirewallSubnetRoutes
(ExpectedRoute... expectedFirewallSubnetRoutes) The firewall subnet routes that are expected.expectedInternetGatewayRoutes
(Collection<ExpectedRoute> expectedInternetGatewayRoutes) The expected routes for the internet gateway.expectedInternetGatewayRoutes
(Consumer<ExpectedRoute.Builder>... expectedInternetGatewayRoutes) The expected routes for the internet gateway.expectedInternetGatewayRoutes
(ExpectedRoute... expectedInternetGatewayRoutes) The expected routes for the internet gateway.internetGatewayId
(String internetGatewayId) The internet gateway ID.isRouteTableUsedInDifferentAZ
(Boolean isRouteTableUsedInDifferentAZ) Information about whether the route table is used in another Availability Zone.routeTableId
(String routeTableId) The route table ID.violatingRoute
(Consumer<Route.Builder> violatingRoute) The route that's in violation.violatingRoute
(Route violatingRoute) The route that's in violation.Information about the VPC ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
affectedSubnets
NetworkFirewallInvalidRouteConfigurationViolation.Builder affectedSubnets(Collection<String> affectedSubnets) The subnets that are affected.
- Parameters:
affectedSubnets
- The subnets that are affected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedSubnets
NetworkFirewallInvalidRouteConfigurationViolation.Builder affectedSubnets(String... affectedSubnets) The subnets that are affected.
- Parameters:
affectedSubnets
- The subnets that are affected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableId
The route table ID.
- Parameters:
routeTableId
- The route table ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRouteTableUsedInDifferentAZ
NetworkFirewallInvalidRouteConfigurationViolation.Builder isRouteTableUsedInDifferentAZ(Boolean isRouteTableUsedInDifferentAZ) Information about whether the route table is used in another Availability Zone.
- Parameters:
isRouteTableUsedInDifferentAZ
- Information about whether the route table is used in another Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violatingRoute
The route that's in violation.
- Parameters:
violatingRoute
- The route that's in violation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violatingRoute
default NetworkFirewallInvalidRouteConfigurationViolation.Builder violatingRoute(Consumer<Route.Builder> violatingRoute) The route that's in violation.
This is a convenience method that creates an instance of theRoute.Builder
avoiding the need to create one manually viaRoute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toviolatingRoute(Route)
.- Parameters:
violatingRoute
- a consumer that will call methods onRoute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentFirewallSubnetRouteTable
NetworkFirewallInvalidRouteConfigurationViolation.Builder currentFirewallSubnetRouteTable(String currentFirewallSubnetRouteTable) The subnet route table for the current firewall.
- Parameters:
currentFirewallSubnetRouteTable
- The subnet route table for the current firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedFirewallEndpoint
NetworkFirewallInvalidRouteConfigurationViolation.Builder expectedFirewallEndpoint(String expectedFirewallEndpoint) The firewall endpoint that's expected.
- Parameters:
expectedFirewallEndpoint
- The firewall endpoint that's expected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actualFirewallEndpoint
NetworkFirewallInvalidRouteConfigurationViolation.Builder actualFirewallEndpoint(String actualFirewallEndpoint) The actual firewall endpoint.
- Parameters:
actualFirewallEndpoint
- The actual firewall endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedFirewallSubnetId
NetworkFirewallInvalidRouteConfigurationViolation.Builder expectedFirewallSubnetId(String expectedFirewallSubnetId) The expected subnet ID for the firewall.
- Parameters:
expectedFirewallSubnetId
- The expected subnet ID for the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actualFirewallSubnetId
NetworkFirewallInvalidRouteConfigurationViolation.Builder actualFirewallSubnetId(String actualFirewallSubnetId) The actual subnet ID for the firewall.
- Parameters:
actualFirewallSubnetId
- The actual subnet ID for the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedFirewallSubnetRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder expectedFirewallSubnetRoutes(Collection<ExpectedRoute> expectedFirewallSubnetRoutes) The firewall subnet routes that are expected.
- Parameters:
expectedFirewallSubnetRoutes
- The firewall subnet routes that are expected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedFirewallSubnetRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder expectedFirewallSubnetRoutes(ExpectedRoute... expectedFirewallSubnetRoutes) The firewall subnet routes that are expected.
- Parameters:
expectedFirewallSubnetRoutes
- The firewall subnet routes that are expected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedFirewallSubnetRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder expectedFirewallSubnetRoutes(Consumer<ExpectedRoute.Builder>... expectedFirewallSubnetRoutes) The firewall subnet routes that are expected.
This is a convenience method that creates an instance of theExpectedRoute.Builder
avoiding the need to create one manually viaExpectedRoute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexpectedFirewallSubnetRoutes(List<ExpectedRoute>)
.- Parameters:
expectedFirewallSubnetRoutes
- a consumer that will call methods onExpectedRoute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actualFirewallSubnetRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder actualFirewallSubnetRoutes(Collection<Route> actualFirewallSubnetRoutes) The actual firewall subnet routes that are expected.
- Parameters:
actualFirewallSubnetRoutes
- The actual firewall subnet routes that are expected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actualFirewallSubnetRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder actualFirewallSubnetRoutes(Route... actualFirewallSubnetRoutes) The actual firewall subnet routes that are expected.
- Parameters:
actualFirewallSubnetRoutes
- The actual firewall subnet routes that are expected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actualFirewallSubnetRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder actualFirewallSubnetRoutes(Consumer<Route.Builder>... actualFirewallSubnetRoutes) The actual firewall subnet routes that are expected.
This is a convenience method that creates an instance of theRoute.Builder
avoiding the need to create one manually viaRoute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactualFirewallSubnetRoutes(List<Route>)
.- Parameters:
actualFirewallSubnetRoutes
- a consumer that will call methods onRoute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
internetGatewayId
NetworkFirewallInvalidRouteConfigurationViolation.Builder internetGatewayId(String internetGatewayId) The internet gateway ID.
- Parameters:
internetGatewayId
- The internet gateway ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentInternetGatewayRouteTable
NetworkFirewallInvalidRouteConfigurationViolation.Builder currentInternetGatewayRouteTable(String currentInternetGatewayRouteTable) The route table for the current internet gateway.
- Parameters:
currentInternetGatewayRouteTable
- The route table for the current internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedInternetGatewayRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder expectedInternetGatewayRoutes(Collection<ExpectedRoute> expectedInternetGatewayRoutes) The expected routes for the internet gateway.
- Parameters:
expectedInternetGatewayRoutes
- The expected routes for the internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedInternetGatewayRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder expectedInternetGatewayRoutes(ExpectedRoute... expectedInternetGatewayRoutes) The expected routes for the internet gateway.
- Parameters:
expectedInternetGatewayRoutes
- The expected routes for the internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedInternetGatewayRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder expectedInternetGatewayRoutes(Consumer<ExpectedRoute.Builder>... expectedInternetGatewayRoutes) The expected routes for the internet gateway.
This is a convenience method that creates an instance of theExpectedRoute.Builder
avoiding the need to create one manually viaExpectedRoute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexpectedInternetGatewayRoutes(List<ExpectedRoute>)
.- Parameters:
expectedInternetGatewayRoutes
- a consumer that will call methods onExpectedRoute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actualInternetGatewayRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder actualInternetGatewayRoutes(Collection<Route> actualInternetGatewayRoutes) The actual internet gateway routes.
- Parameters:
actualInternetGatewayRoutes
- The actual internet gateway routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actualInternetGatewayRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder actualInternetGatewayRoutes(Route... actualInternetGatewayRoutes) The actual internet gateway routes.
- Parameters:
actualInternetGatewayRoutes
- The actual internet gateway routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actualInternetGatewayRoutes
NetworkFirewallInvalidRouteConfigurationViolation.Builder actualInternetGatewayRoutes(Consumer<Route.Builder>... actualInternetGatewayRoutes) The actual internet gateway routes.
This is a convenience method that creates an instance of theRoute.Builder
avoiding the need to create one manually viaRoute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactualInternetGatewayRoutes(List<Route>)
.- Parameters:
actualInternetGatewayRoutes
- a consumer that will call methods onRoute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcId
Information about the VPC ID.
- Parameters:
vpcId
- Information about the VPC ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-