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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EC2ReplaceRouteTableAssociationAction.BuilderassociationId(Consumer<ActionTarget.Builder> associationId)Information about the association ID.EC2ReplaceRouteTableAssociationAction.BuilderassociationId(ActionTarget associationId)Information about the association ID.EC2ReplaceRouteTableAssociationAction.Builderdescription(String description)A description of the ReplaceRouteTableAssociation action in Amazon EC2.default EC2ReplaceRouteTableAssociationAction.BuilderrouteTableId(Consumer<ActionTarget.Builder> routeTableId)Information about the ID of the new route table to associate with the subnet.EC2ReplaceRouteTableAssociationAction.BuilderrouteTableId(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 Detail
-
description
EC2ReplaceRouteTableAssociationAction.Builder description(String 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
EC2ReplaceRouteTableAssociationAction.Builder associationId(ActionTarget 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.Builderavoiding the need to create one manually viaActionTarget.builder().When the
Consumercompletes,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:
associationId(ActionTarget)
-
routeTableId
EC2ReplaceRouteTableAssociationAction.Builder routeTableId(ActionTarget 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.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)
-
-