Interface EC2ReplaceRouteTableAssociationAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EC2ReplaceRouteTableAssociationAction.Builder,
,EC2ReplaceRouteTableAssociationAction> SdkBuilder<EC2ReplaceRouteTableAssociationAction.Builder,
,EC2ReplaceRouteTableAssociationAction> SdkPojo
- Enclosing class:
EC2ReplaceRouteTableAssociationAction
public static interface EC2ReplaceRouteTableAssociationAction.Builder
extends SdkPojo, CopyableBuilder<EC2ReplaceRouteTableAssociationAction.Builder,EC2ReplaceRouteTableAssociationAction>
-
Method Summary
Modifier and TypeMethodDescriptionassociationId
(Consumer<ActionTarget.Builder> associationId) Information about the association ID.associationId
(ActionTarget associationId) Information about the association ID.description
(String description) A description of the ReplaceRouteTableAssociation action in Amazon EC2.routeTableId
(Consumer<ActionTarget.Builder> routeTableId) Information about the ID of the new route table to associate with the subnet.routeTableId
(ActionTarget routeTableId) Information about the ID of the new route table to associate with the subnet.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 ReplaceRouteTableAssociation action in Amazon EC2.
- Parameters:
description
- A description of the ReplaceRouteTableAssociation action in Amazon EC2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationId
Information about the association ID.
- Parameters:
associationId
- Information about the association ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationId
default EC2ReplaceRouteTableAssociationAction.Builder associationId(Consumer<ActionTarget.Builder> associationId) Information about the association ID.
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 toassociationId(ActionTarget)
.- Parameters:
associationId
- 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
Information about the ID of the new route table to associate with the subnet.
- Parameters:
routeTableId
- Information about the ID of the new route table to associate with the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableId
default EC2ReplaceRouteTableAssociationAction.Builder routeTableId(Consumer<ActionTarget.Builder> routeTableId) Information about the ID of the new route table to associate with the subnet.
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:
-