Interface RouteTableAssociation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteTableAssociation.Builder,,RouteTableAssociation> SdkBuilder<RouteTableAssociation.Builder,,RouteTableAssociation> SdkPojo
- Enclosing class:
RouteTableAssociation
@Mutable
@NotThreadSafe
public static interface RouteTableAssociation.Builder
extends SdkPojo, CopyableBuilder<RouteTableAssociation.Builder,RouteTableAssociation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteTableAssociation.BuilderassociationState(Consumer<RouteTableAssociationState.Builder> associationState) The state of the association.associationState(RouteTableAssociationState associationState) The state of the association.The ID of the internet gateway or virtual private gateway.Indicates whether this is the main route table.publicIpv4Pool(String publicIpv4Pool) The ID of a public IPv4 pool.routeTableAssociationId(String routeTableAssociationId) The ID of the association.routeTableId(String routeTableId) The ID of the route table.The ID of the subnet.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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.
-
publicIpv4Pool
The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 addresses that you've brought to Amazon Web Services with BYOIP.
- Parameters:
publicIpv4Pool- The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 addresses that you've brought to Amazon Web Services with BYOIP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaRouteTableAssociationState.builder().When the
Consumercompletes,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:
-