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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssociationSetDetails.BuilderassociationState(Consumer<AssociationStateDetails.Builder> associationState)The state of the association between a route table and a subnet or gateway.AssociationSetDetails.BuilderassociationState(AssociationStateDetails associationState)The state of the association between a route table and a subnet or gateway.AssociationSetDetails.BuildergatewayId(String gatewayId)The ID of the internet gateway or virtual private gateway.AssociationSetDetails.Buildermain(Boolean main)Indicates whether this is the main route table.AssociationSetDetails.BuilderrouteTableAssociationId(String routeTableAssociationId)The ID of the association.AssociationSetDetails.BuilderrouteTableId(String routeTableId)The ID of the route table.AssociationSetDetails.BuildersubnetId(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
associationState
AssociationSetDetails.Builder associationState(AssociationStateDetails 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.Builderavoiding the need to create one manually viaAssociationStateDetails.builder().When the
Consumercompletes,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:
associationState(AssociationStateDetails)
-
gatewayId
AssociationSetDetails.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.
-
main
AssociationSetDetails.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
AssociationSetDetails.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
AssociationSetDetails.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
AssociationSetDetails.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.
-
-