Interface NetworkFirewallMissingExpectedRoutesViolation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkFirewallMissingExpectedRoutesViolation.Builder,,NetworkFirewallMissingExpectedRoutesViolation> SdkBuilder<NetworkFirewallMissingExpectedRoutesViolation.Builder,,NetworkFirewallMissingExpectedRoutesViolation> SdkPojo
- Enclosing class:
NetworkFirewallMissingExpectedRoutesViolation
public static interface NetworkFirewallMissingExpectedRoutesViolation.Builder
extends SdkPojo, CopyableBuilder<NetworkFirewallMissingExpectedRoutesViolation.Builder,NetworkFirewallMissingExpectedRoutesViolation>
-
Method Summary
Modifier and TypeMethodDescriptionexpectedRoutes(Collection<ExpectedRoute> expectedRoutes) The expected routes.expectedRoutes(Consumer<ExpectedRoute.Builder>... expectedRoutes) The expected routes.expectedRoutes(ExpectedRoute... expectedRoutes) The expected routes.violationTarget(String violationTarget) The target of the 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
-
violationTarget
The target of the violation.
- Parameters:
violationTarget- The target of the violation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedRoutes
NetworkFirewallMissingExpectedRoutesViolation.Builder expectedRoutes(Collection<ExpectedRoute> expectedRoutes) The expected routes.
- Parameters:
expectedRoutes- The expected routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedRoutes
NetworkFirewallMissingExpectedRoutesViolation.Builder expectedRoutes(ExpectedRoute... expectedRoutes) The expected routes.
- Parameters:
expectedRoutes- The expected routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedRoutes
NetworkFirewallMissingExpectedRoutesViolation.Builder expectedRoutes(Consumer<ExpectedRoute.Builder>... expectedRoutes) The expected routes.
This is a convenience method that creates an instance of theExpectedRoute.Builderavoiding the need to create one manually viaExpectedRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexpectedRoutes(List<ExpectedRoute>).- Parameters:
expectedRoutes- 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:
-
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.
-