Interface EC2CopyRouteTableAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EC2CopyRouteTableAction.Builder,
,EC2CopyRouteTableAction> SdkBuilder<EC2CopyRouteTableAction.Builder,
,EC2CopyRouteTableAction> SdkPojo
- Enclosing class:
EC2CopyRouteTableAction
public static interface EC2CopyRouteTableAction.Builder
extends SdkPojo, CopyableBuilder<EC2CopyRouteTableAction.Builder,EC2CopyRouteTableAction>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the copied EC2 route table that is associated with the remediation action.default EC2CopyRouteTableAction.Builder
routeTableId
(Consumer<ActionTarget.Builder> routeTableId) The ID of the copied EC2 route table that is associated with the remediation action.routeTableId
(ActionTarget routeTableId) The ID of the copied EC2 route table that is associated with the remediation action.default EC2CopyRouteTableAction.Builder
vpcId
(Consumer<ActionTarget.Builder> vpcId) The VPC ID of the copied EC2 route table that is associated with the remediation action.vpcId
(ActionTarget vpcId) The VPC ID of the copied 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 copied EC2 route table that is associated with the remediation action.
- Parameters:
description
- A description of the copied 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.
-
vpcId
The VPC ID of the copied EC2 route table that is associated with the remediation action.
- Parameters:
vpcId
- The VPC ID of the copied 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.
-
vpcId
The VPC ID of the copied 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 tovpcId(ActionTarget)
.- Parameters:
vpcId
- 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:
-
routeTableId
The ID of the copied EC2 route table that is associated with the remediation action.
- Parameters:
routeTableId
- The ID of the copied 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 copied 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:
-