Class TransitGatewayRouteTableAssociationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.TransitGatewayRouteTableAssociationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TransitGatewayRouteTableAssociationReference>
- Enclosing interface:
TransitGatewayRouteTableAssociationReference
@Stability(Stable)
public static final class TransitGatewayRouteTableAssociationReference.Builder
extends Object
implements software.amazon.jsii.Builder<TransitGatewayRouteTableAssociationReference>
A builder for
TransitGatewayRouteTableAssociationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.transitGatewayAttachmentId(String transitGatewayAttachmentId) transitGatewayRouteTableId(String transitGatewayRouteTableId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
transitGatewayAttachmentId
@Stability(Stable) public TransitGatewayRouteTableAssociationReference.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId) - Parameters:
transitGatewayAttachmentId- The TransitGatewayAttachmentId of the TransitGatewayRouteTableAssociation resource. This parameter is required.- Returns:
this
-
transitGatewayRouteTableId
@Stability(Stable) public TransitGatewayRouteTableAssociationReference.Builder transitGatewayRouteTableId(String transitGatewayRouteTableId) - Parameters:
transitGatewayRouteTableId- The TransitGatewayRouteTableId of the TransitGatewayRouteTableAssociation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TransitGatewayRouteTableAssociationReference>- Returns:
- a new instance of
TransitGatewayRouteTableAssociationReference - Throws:
NullPointerException- if any required attribute was not provided
-