Class TransitGatewayRouteTableAttachmentReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.networkmanager.TransitGatewayRouteTableAttachmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TransitGatewayRouteTableAttachmentReference>
- Enclosing interface:
TransitGatewayRouteTableAttachmentReference
@Stability(Stable)
public static final class TransitGatewayRouteTableAttachmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<TransitGatewayRouteTableAttachmentReference>
A builder for
TransitGatewayRouteTableAttachmentReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentId(String attachmentId) Sets the value ofTransitGatewayRouteTableAttachmentReference.getAttachmentId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachmentId
@Stability(Stable) public TransitGatewayRouteTableAttachmentReference.Builder attachmentId(String attachmentId) Sets the value ofTransitGatewayRouteTableAttachmentReference.getAttachmentId()- Parameters:
attachmentId- The AttachmentId of the TransitGatewayRouteTableAttachment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TransitGatewayRouteTableAttachmentReference>- Returns:
- a new instance of
TransitGatewayRouteTableAttachmentReference - Throws:
NullPointerException- if any required attribute was not provided
-