Class CfnTransitGatewayRouteTableAttachmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnTransitGatewayRouteTableAttachmentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayRouteTableAttachmentProps>
- Enclosing interface:
CfnTransitGatewayRouteTableAttachmentProps
@Stability(Stable)
public static final class CfnTransitGatewayRouteTableAttachmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayRouteTableAttachmentProps>
A builder for
CfnTransitGatewayRouteTableAttachmentProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.networkFunctionGroupName(String networkFunctionGroupName) Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getNetworkFunctionGroupName()Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getPeeringId()proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) proposedNetworkFunctionGroupChange(CfnTransitGatewayRouteTableAttachment.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) proposedSegmentChange(IResolvable proposedSegmentChange) Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getProposedSegmentChange()proposedSegmentChange(CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty proposedSegmentChange) Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getProposedSegmentChange()Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getTags()transitGatewayRouteTableArn(String transitGatewayRouteTableArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
peeringId
@Stability(Stable) public CfnTransitGatewayRouteTableAttachmentProps.Builder peeringId(String peeringId) Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getPeeringId()- Parameters:
peeringId- The ID of the transit gateway peering. This parameter is required.- Returns:
this
-
transitGatewayRouteTableArn
@Stability(Stable) public CfnTransitGatewayRouteTableAttachmentProps.Builder transitGatewayRouteTableArn(String transitGatewayRouteTableArn) - Parameters:
transitGatewayRouteTableArn- The ARN of the transit gateway attachment route table. This parameter is required. For example,"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".- Returns:
this
-
networkFunctionGroupName
@Stability(Stable) public CfnTransitGatewayRouteTableAttachmentProps.Builder networkFunctionGroupName(String networkFunctionGroupName) Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getNetworkFunctionGroupName()- Parameters:
networkFunctionGroupName- The name of the network function group.- Returns:
this
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnTransitGatewayRouteTableAttachmentProps.Builder proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getProposedNetworkFunctionGroupChange()- Parameters:
proposedNetworkFunctionGroupChange- Describes proposed changes to a network function group.- Returns:
this
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnTransitGatewayRouteTableAttachmentProps.Builder proposedNetworkFunctionGroupChange(CfnTransitGatewayRouteTableAttachment.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getProposedNetworkFunctionGroupChange()- Parameters:
proposedNetworkFunctionGroupChange- Describes proposed changes to a network function group.- Returns:
this
-
proposedSegmentChange
@Stability(Stable) public CfnTransitGatewayRouteTableAttachmentProps.Builder proposedSegmentChange(IResolvable proposedSegmentChange) Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getProposedSegmentChange()- Parameters:
proposedSegmentChange- This property is read-only. Values can't be assigned to it.- Returns:
this
-
proposedSegmentChange
@Stability(Stable) public CfnTransitGatewayRouteTableAttachmentProps.Builder proposedSegmentChange(CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty proposedSegmentChange) Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getProposedSegmentChange()- Parameters:
proposedSegmentChange- This property is read-only. Values can't be assigned to it.- Returns:
this
-
tags
@Stability(Stable) public CfnTransitGatewayRouteTableAttachmentProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnTransitGatewayRouteTableAttachmentProps.getTags()- Parameters:
tags- The list of key-value pairs associated with the transit gateway route table attachment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayRouteTableAttachmentProps>- Returns:
- a new instance of
CfnTransitGatewayRouteTableAttachmentProps - Throws:
NullPointerException- if any required attribute was not provided
-