Interface RouteTableAssociation.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteTableAssociation.Builder,RouteTableAssociation>
,SdkBuilder<RouteTableAssociation.Builder,RouteTableAssociation>
,SdkPojo
- Enclosing class:
- RouteTableAssociation
public static interface RouteTableAssociation.Builder extends SdkPojo, CopyableBuilder<RouteTableAssociation.Builder,RouteTableAssociation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RouteTableAssociation.Builder
associationState(Consumer<RouteTableAssociationState.Builder> associationState)
The state of the association.RouteTableAssociation.Builder
associationState(RouteTableAssociationState associationState)
The state of the association.RouteTableAssociation.Builder
gatewayId(String gatewayId)
The ID of the internet gateway or virtual private gateway.RouteTableAssociation.Builder
main(Boolean main)
Indicates whether this is the main route table.RouteTableAssociation.Builder
routeTableAssociationId(String routeTableAssociationId)
The ID of the association.RouteTableAssociation.Builder
routeTableId(String routeTableId)
The ID of the route table.RouteTableAssociation.Builder
subnetId(String subnetId)
The ID of 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
-
main
RouteTableAssociation.Builder main(Boolean main)
Indicates whether this is the main route table.
- Parameters:
main
- Indicates whether this is the main route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableAssociationId
RouteTableAssociation.Builder routeTableAssociationId(String routeTableAssociationId)
The ID of the association.
- Parameters:
routeTableAssociationId
- The ID of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableId
RouteTableAssociation.Builder routeTableId(String routeTableId)
The ID of the route table.
- Parameters:
routeTableId
- The ID of the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
RouteTableAssociation.Builder subnetId(String subnetId)
The ID of the subnet. A subnet ID is not returned for an implicit association.
- Parameters:
subnetId
- The ID of the subnet. A subnet ID is not returned for an implicit association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayId
RouteTableAssociation.Builder gatewayId(String gatewayId)
The ID of the internet gateway or virtual private gateway.
- Parameters:
gatewayId
- The ID of the internet gateway or virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationState
RouteTableAssociation.Builder associationState(RouteTableAssociationState associationState)
The state of the association.
- Parameters:
associationState
- The state of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationState
default RouteTableAssociation.Builder associationState(Consumer<RouteTableAssociationState.Builder> associationState)
The state of the association.
This is a convenience method that creates an instance of theRouteTableAssociationState.Builder
avoiding the need to create one manually viaRouteTableAssociationState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociationState(RouteTableAssociationState)
.- Parameters:
associationState
- a consumer that will call methods onRouteTableAssociationState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
associationState(RouteTableAssociationState)
-
-