Interface NetworkFirewallUnexpectedGatewayRoutesViolation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkFirewallUnexpectedGatewayRoutesViolation.Builder,,NetworkFirewallUnexpectedGatewayRoutesViolation> SdkBuilder<NetworkFirewallUnexpectedGatewayRoutesViolation.Builder,,NetworkFirewallUnexpectedGatewayRoutesViolation> SdkPojo
- Enclosing class:
NetworkFirewallUnexpectedGatewayRoutesViolation
public static interface NetworkFirewallUnexpectedGatewayRoutesViolation.Builder
extends SdkPojo, CopyableBuilder<NetworkFirewallUnexpectedGatewayRoutesViolation.Builder,NetworkFirewallUnexpectedGatewayRoutesViolation>
-
Method Summary
Modifier and TypeMethodDescriptionInformation about the gateway ID.routeTableId(String routeTableId) Information about the route table.violatingRoutes(Collection<Route> violatingRoutes) The routes that are in violation.violatingRoutes(Consumer<Route.Builder>... violatingRoutes) The routes that are in violation.violatingRoutes(Route... violatingRoutes) The routes that are in violation.Information about the VPC ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
gatewayId
Information about the gateway ID.
- Parameters:
gatewayId- Information about the gateway ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violatingRoutes
NetworkFirewallUnexpectedGatewayRoutesViolation.Builder violatingRoutes(Collection<Route> violatingRoutes) The routes that are in violation.
- Parameters:
violatingRoutes- The routes that are in violation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violatingRoutes
The routes that are in violation.
- Parameters:
violatingRoutes- The routes that are in violation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violatingRoutes
NetworkFirewallUnexpectedGatewayRoutesViolation.Builder violatingRoutes(Consumer<Route.Builder>... violatingRoutes) The routes that are in violation.
This is a convenience method that creates an instance of theRoute.Builderavoiding the need to create one manually viaRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toviolatingRoutes(List<Route>).- Parameters:
violatingRoutes- 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:
-
routeTableId
Information about the route table.
- Parameters:
routeTableId- Information about the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-