public static interface RouteTableAssociation.Builder extends SdkPojo, CopyableBuilder<RouteTableAssociation.Builder,RouteTableAssociation>
Modifier and Type | Method and 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
RouteTableAssociation.Builder main(Boolean main)
Indicates whether this is the main route table.
main
- Indicates whether this is the main route table.RouteTableAssociation.Builder routeTableAssociationId(String routeTableAssociationId)
The ID of the association.
routeTableAssociationId
- The ID of the association.RouteTableAssociation.Builder routeTableId(String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.RouteTableAssociation.Builder subnetId(String subnetId)
The ID of the subnet. A subnet ID is not returned for an implicit association.
subnetId
- The ID of the subnet. A subnet ID is not returned for an implicit association.RouteTableAssociation.Builder gatewayId(String gatewayId)
The ID of the internet gateway or virtual private gateway.
gatewayId
- The ID of the internet gateway or virtual private gateway.RouteTableAssociation.Builder associationState(RouteTableAssociationState associationState)
The state of the association.
associationState
- The state of the association.default RouteTableAssociation.Builder associationState(Consumer<RouteTableAssociationState.Builder> associationState)
The state of the association.
This is a convenience that creates an instance of theRouteTableAssociationState.Builder
avoiding the
need to create one manually via RouteTableAssociationState.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to associationState(RouteTableAssociationState)
.associationState
- a consumer that will call methods on RouteTableAssociationState.Builder
associationState(RouteTableAssociationState)
Copyright © 2021. All rights reserved.