Interface EC2AssociateRouteTableAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EC2AssociateRouteTableAction.Builder,EC2AssociateRouteTableAction>,SdkBuilder<EC2AssociateRouteTableAction.Builder,EC2AssociateRouteTableAction>,SdkPojo
- Enclosing class:
- EC2AssociateRouteTableAction
public static interface EC2AssociateRouteTableAction.Builder extends SdkPojo, CopyableBuilder<EC2AssociateRouteTableAction.Builder,EC2AssociateRouteTableAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EC2AssociateRouteTableAction.Builderdescription(String description)A description of the EC2 route table that is associated with the remediation action.default EC2AssociateRouteTableAction.BuildergatewayId(Consumer<ActionTarget.Builder> gatewayId)The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.EC2AssociateRouteTableAction.BuildergatewayId(ActionTarget gatewayId)The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.default EC2AssociateRouteTableAction.BuilderrouteTableId(Consumer<ActionTarget.Builder> routeTableId)The ID of the EC2 route table that is associated with the remediation action.EC2AssociateRouteTableAction.BuilderrouteTableId(ActionTarget routeTableId)The ID of the EC2 route table that is associated with the remediation action.default EC2AssociateRouteTableAction.BuildersubnetId(Consumer<ActionTarget.Builder> subnetId)The ID of the subnet for the EC2 route table that is associated with the remediation action.EC2AssociateRouteTableAction.BuildersubnetId(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 Detail
-
description
EC2AssociateRouteTableAction.Builder description(String 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
EC2AssociateRouteTableAction.Builder routeTableId(ActionTarget 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.Builderavoiding the need to create one manually viaActionTarget.builder().When the
Consumercompletes,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:
routeTableId(ActionTarget)
-
subnetId
EC2AssociateRouteTableAction.Builder subnetId(ActionTarget 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
default EC2AssociateRouteTableAction.Builder subnetId(Consumer<ActionTarget.Builder> 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.Builderavoiding the need to create one manually viaActionTarget.builder().When the
Consumercompletes,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:
subnetId(ActionTarget)
-
gatewayId
EC2AssociateRouteTableAction.Builder gatewayId(ActionTarget 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
default EC2AssociateRouteTableAction.Builder 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.
This is a convenience method that creates an instance of theActionTarget.Builderavoiding the need to create one manually viaActionTarget.builder().When the
Consumercompletes,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:
gatewayId(ActionTarget)
-
-