Interface NetworkFirewallBlackHoleRouteDetectedViolation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkFirewallBlackHoleRouteDetectedViolation.Builder,
,NetworkFirewallBlackHoleRouteDetectedViolation> SdkBuilder<NetworkFirewallBlackHoleRouteDetectedViolation.Builder,
,NetworkFirewallBlackHoleRouteDetectedViolation> SdkPojo
- Enclosing class:
NetworkFirewallBlackHoleRouteDetectedViolation
@Mutable
@NotThreadSafe
public static interface NetworkFirewallBlackHoleRouteDetectedViolation.Builder
extends SdkPojo, CopyableBuilder<NetworkFirewallBlackHoleRouteDetectedViolation.Builder,NetworkFirewallBlackHoleRouteDetectedViolation>
-
Method Summary
Modifier and TypeMethodDescriptionrouteTableId
(String routeTableId) Information about the route table ID.violatingRoutes
(Collection<Route> violatingRoutes) Information about the route or routes that are in violation.violatingRoutes
(Consumer<Route.Builder>... violatingRoutes) Information about the route or routes that are in violation.violatingRoutes
(Route... violatingRoutes) Information about the route or routes that are in violation.violationTarget
(String violationTarget) The subnet that has an inactive state.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, sdkFieldNameToField, sdkFields
-
Method Details
-
violationTarget
The subnet that has an inactive state.
- Parameters:
violationTarget
- The subnet that has an inactive state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableId
Information about the route table ID.
- Parameters:
routeTableId
- Information about the route table ID.- 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.
-
violatingRoutes
NetworkFirewallBlackHoleRouteDetectedViolation.Builder violatingRoutes(Collection<Route> violatingRoutes) Information about the route or routes that are in violation.
- Parameters:
violatingRoutes
- Information about the route or routes that are in violation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violatingRoutes
Information about the route or routes that are in violation.
- Parameters:
violatingRoutes
- Information about the route or routes that are in violation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violatingRoutes
NetworkFirewallBlackHoleRouteDetectedViolation.Builder violatingRoutes(Consumer<Route.Builder>... violatingRoutes) Information about the route or routes that are 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 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:
-