Class CfnTransitGatewayRouteTableAttachment.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnTransitGatewayRouteTableAttachment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayRouteTableAttachment>
- Enclosing class:
CfnTransitGatewayRouteTableAttachment
@Stability(Stable)
public static final class CfnTransitGatewayRouteTableAttachment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayRouteTableAttachment>
A fluent builder for
CfnTransitGatewayRouteTableAttachment
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
networkFunctionGroupName
(String networkFunctionGroupName) The name of the network function group.The ID of the transit gateway peering.proposedNetworkFunctionGroupChange
(IResolvable proposedNetworkFunctionGroupChange) Describes proposed changes to a network function group.proposedNetworkFunctionGroupChange
(CfnTransitGatewayRouteTableAttachment.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) Describes proposed changes to a network function group.proposedSegmentChange
(IResolvable proposedSegmentChange) This property is read-only.proposedSegmentChange
(CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty proposedSegmentChange) This property is read-only.The list of key-value pairs associated with the transit gateway route table attachment.transitGatewayRouteTableArn
(String transitGatewayRouteTableArn) The ARN of the transit gateway attachment route table.
-
Method Details
-
create
@Stability(Stable) public static CfnTransitGatewayRouteTableAttachment.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTransitGatewayRouteTableAttachment.Builder
.
-
peeringId
The ID of the transit gateway peering.- Parameters:
peeringId
- The ID of the transit gateway peering. This parameter is required.- Returns:
this
- See Also:
-
transitGatewayRouteTableArn
@Stability(Stable) public CfnTransitGatewayRouteTableAttachment.Builder transitGatewayRouteTableArn(String transitGatewayRouteTableArn) The ARN of the transit gateway attachment route table.For example,
"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
.- Parameters:
transitGatewayRouteTableArn
- The ARN of the transit gateway attachment route table. This parameter is required.- Returns:
this
- See Also:
-
networkFunctionGroupName
@Stability(Stable) public CfnTransitGatewayRouteTableAttachment.Builder networkFunctionGroupName(String networkFunctionGroupName) The name of the network function group.- Parameters:
networkFunctionGroupName
- The name of the network function group. This parameter is required.- Returns:
this
- See Also:
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnTransitGatewayRouteTableAttachment.Builder proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) Describes proposed changes to a network function group.- Parameters:
proposedNetworkFunctionGroupChange
- Describes proposed changes to a network function group. This parameter is required.- Returns:
this
- See Also:
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnTransitGatewayRouteTableAttachment.Builder proposedNetworkFunctionGroupChange(CfnTransitGatewayRouteTableAttachment.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) Describes proposed changes to a network function group.- Parameters:
proposedNetworkFunctionGroupChange
- Describes proposed changes to a network function group. This parameter is required.- Returns:
this
- See Also:
-
proposedSegmentChange
@Stability(Stable) public CfnTransitGatewayRouteTableAttachment.Builder proposedSegmentChange(IResolvable proposedSegmentChange) This property is read-only.Values can't be assigned to it.
- Parameters:
proposedSegmentChange
- This property is read-only. This parameter is required.- Returns:
this
- See Also:
-
proposedSegmentChange
@Stability(Stable) public CfnTransitGatewayRouteTableAttachment.Builder proposedSegmentChange(CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty proposedSegmentChange) This property is read-only.Values can't be assigned to it.
- Parameters:
proposedSegmentChange
- This property is read-only. This parameter is required.- Returns:
this
- See Also:
-
tags
@Stability(Stable) public CfnTransitGatewayRouteTableAttachment.Builder tags(List<? extends CfnTag> tags) The list of key-value pairs associated with the transit gateway route table attachment.- Parameters:
tags
- The list of key-value pairs associated with the transit gateway route table attachment. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayRouteTableAttachment>
- Returns:
- a newly built instance of
CfnTransitGatewayRouteTableAttachment
.
-