Interface EC2AssociateRouteTableAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EC2AssociateRouteTableAction.Builder,
,EC2AssociateRouteTableAction> SdkBuilder<EC2AssociateRouteTableAction.Builder,
,EC2AssociateRouteTableAction> SdkPojo
- Enclosing class:
EC2AssociateRouteTableAction
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the EC2 route table that is associated with the remediation action.gatewayId
(Consumer<ActionTarget.Builder> gatewayId) The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.gatewayId
(ActionTarget gatewayId) The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.routeTableId
(Consumer<ActionTarget.Builder> routeTableId) The ID of the EC2 route table that is associated with the remediation action.routeTableId
(ActionTarget routeTableId) The ID of the EC2 route table that is associated with the remediation action.subnetId
(Consumer<ActionTarget.Builder> subnetId) The ID of the subnet for the EC2 route table that is associated with the remediation action.subnetId
(ActionTarget subnetId) The ID of the subnet for the EC2 route table that is associated with the remediation action.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
-
description
A description of the EC2 route table that is associated with the remediation action.
- Parameters:
description
- A description of the EC2 route table that is associated with the remediation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableId
The ID of the EC2 route table that is associated with the remediation action.
- Parameters:
routeTableId
- The ID of the EC2 route table that is associated with the remediation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableId
default EC2AssociateRouteTableAction.Builder routeTableId(Consumer<ActionTarget.Builder> routeTableId) The ID of the EC2 route table that is associated with the remediation action.
This is a convenience method that creates an instance of theActionTarget.Builder
avoiding the need to create one manually viaActionTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torouteTableId(ActionTarget)
.- Parameters:
routeTableId
- a consumer that will call methods onActionTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnetId
The ID of the subnet for the EC2 route table that is associated with the remediation action.
- Parameters:
subnetId
- The ID of the subnet for the EC2 route table that is associated with the remediation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
The ID of the subnet for the EC2 route table that is associated with the remediation action.
This is a convenience method that creates an instance of theActionTarget.Builder
avoiding the need to create one manually viaActionTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnetId(ActionTarget)
.- Parameters:
subnetId
- a consumer that will call methods onActionTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gatewayId
The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
- Parameters:
gatewayId
- The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayId
The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
This is a convenience method that creates an instance of theActionTarget.Builder
avoiding the need to create one manually viaActionTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togatewayId(ActionTarget)
.- Parameters:
gatewayId
- a consumer that will call methods onActionTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-