Class CfnTransitGatewayRouteTablePropagationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnTransitGatewayRouteTablePropagationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayRouteTablePropagationProps>
- Enclosing interface:
CfnTransitGatewayRouteTablePropagationProps
@Stability(Stable)
public static final class CfnTransitGatewayRouteTablePropagationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayRouteTablePropagationProps>
A builder for
CfnTransitGatewayRouteTablePropagationProps
-
Constructor Summary
-
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 CfnTransitGatewayRouteTablePropagationProps.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId) - Parameters:
transitGatewayAttachmentId
- The ID of the attachment. This parameter is required.- Returns:
this
-
transitGatewayRouteTableId
@Stability(Stable) public CfnTransitGatewayRouteTablePropagationProps.Builder transitGatewayRouteTableId(String transitGatewayRouteTableId) - Parameters:
transitGatewayRouteTableId
- The ID of the propagation route table. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayRouteTablePropagationProps>
- Returns:
- a new instance of
CfnTransitGatewayRouteTablePropagationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-