Class TransitGatewayRouteTablePropagationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.alpha.TransitGatewayRouteTablePropagationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TransitGatewayRouteTablePropagationProps>
- Enclosing interface:
TransitGatewayRouteTablePropagationProps
@Stability(Experimental)
public static final class TransitGatewayRouteTablePropagationProps.Builder
extends Object
implements software.amazon.jsii.Builder<TransitGatewayRouteTablePropagationProps>
A builder for
TransitGatewayRouteTablePropagationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.transitGatewayRouteTable(ITransitGatewayRouteTable transitGatewayRouteTable) Sets the value ofTransitGatewayRouteTablePropagationProps.getTransitGatewayRouteTable()transitGatewayRouteTablePropagationName(String transitGatewayRouteTablePropagationName) transitGatewayVpcAttachment(ITransitGatewayAttachment transitGatewayVpcAttachment)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
transitGatewayRouteTable
@Stability(Experimental) public TransitGatewayRouteTablePropagationProps.Builder transitGatewayRouteTable(ITransitGatewayRouteTable transitGatewayRouteTable) Sets the value ofTransitGatewayRouteTablePropagationProps.getTransitGatewayRouteTable()- Parameters:
transitGatewayRouteTable- The ID of the transit gateway route table propagation. This parameter is required.- Returns:
this
-
transitGatewayVpcAttachment
@Stability(Experimental) public TransitGatewayRouteTablePropagationProps.Builder transitGatewayVpcAttachment(ITransitGatewayAttachment transitGatewayVpcAttachment) - Parameters:
transitGatewayVpcAttachment- The ID of the transit gateway route table propagation. This parameter is required.- Returns:
this
-
transitGatewayRouteTablePropagationName
@Stability(Experimental) public TransitGatewayRouteTablePropagationProps.Builder transitGatewayRouteTablePropagationName(String transitGatewayRouteTablePropagationName) Sets the value ofTransitGatewayRouteTablePropagationProps.getTransitGatewayRouteTablePropagationName()- Parameters:
transitGatewayRouteTablePropagationName- Physical name of this propagation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TransitGatewayRouteTablePropagationProps>- Returns:
- a new instance of
TransitGatewayRouteTablePropagationProps - Throws:
NullPointerException- if any required attribute was not provided
-