Interface AssociationSetDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssociationSetDetails.Builder,
,AssociationSetDetails> SdkBuilder<AssociationSetDetails.Builder,
,AssociationSetDetails> SdkPojo
- Enclosing class:
AssociationSetDetails
public static interface AssociationSetDetails.Builder
extends SdkPojo, CopyableBuilder<AssociationSetDetails.Builder,AssociationSetDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociationSetDetails.Builder
associationState
(Consumer<AssociationStateDetails.Builder> associationState) The state of the association between a route table and a subnet or gateway.associationState
(AssociationStateDetails associationState) The state of the association between a route table and a subnet or gateway.The ID of the internet gateway or virtual private gateway.Indicates whether this is the main route table.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
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
-
associationState
The state of the association between a route table and a subnet or gateway.
- Parameters:
associationState
- The state of the association between a route table and a subnet or gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationState
default AssociationSetDetails.Builder associationState(Consumer<AssociationStateDetails.Builder> associationState) The state of the association between a route table and a subnet or gateway.
This is a convenience method that creates an instance of theAssociationStateDetails.Builder
avoiding the need to create one manually viaAssociationStateDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociationState(AssociationStateDetails)
.- Parameters:
associationState
- a consumer that will call methods onAssociationStateDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-