Class CfnSiteToSiteVpnAttachment.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnSiteToSiteVpnAttachment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSiteToSiteVpnAttachment>
- Enclosing class:
CfnSiteToSiteVpnAttachment
@Stability(Stable)
public static final class CfnSiteToSiteVpnAttachment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSiteToSiteVpnAttachment>
A fluent builder for
CfnSiteToSiteVpnAttachment
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
coreNetworkId
(String coreNetworkId) The ID of a core network where you're creating a site-to-site VPN attachment.networkFunctionGroupName
(String networkFunctionGroupName) The name of the network function group.proposedNetworkFunctionGroupChange
(IResolvable proposedNetworkFunctionGroupChange) Describes proposed changes to a network function group.proposedNetworkFunctionGroupChange
(CfnSiteToSiteVpnAttachment.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) Describes proposed changes to a network function group.proposedSegmentChange
(IResolvable proposedSegmentChange) Describes a proposed segment change.proposedSegmentChange
(CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty proposedSegmentChange) Describes a proposed segment change.The tags associated with the Site-to-Site VPN attachment.vpnConnectionArn
(String vpnConnectionArn) The ARN of the site-to-site VPN attachment.
-
Method Details
-
create
@Stability(Stable) public static CfnSiteToSiteVpnAttachment.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
CfnSiteToSiteVpnAttachment.Builder
.
-
coreNetworkId
The ID of a core network where you're creating a site-to-site VPN attachment.- Parameters:
coreNetworkId
- The ID of a core network where you're creating a site-to-site VPN attachment. This parameter is required.- Returns:
this
- See Also:
-
vpnConnectionArn
@Stability(Stable) public CfnSiteToSiteVpnAttachment.Builder vpnConnectionArn(String vpnConnectionArn) The ARN of the site-to-site VPN attachment.- Parameters:
vpnConnectionArn
- The ARN of the site-to-site VPN attachment. This parameter is required.- Returns:
this
- See Also:
-
networkFunctionGroupName
@Stability(Stable) public CfnSiteToSiteVpnAttachment.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 CfnSiteToSiteVpnAttachment.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 CfnSiteToSiteVpnAttachment.Builder proposedNetworkFunctionGroupChange(CfnSiteToSiteVpnAttachment.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 CfnSiteToSiteVpnAttachment.Builder proposedSegmentChange(IResolvable proposedSegmentChange) Describes a proposed segment change.In some cases, the segment change must first be evaluated and accepted.
- Parameters:
proposedSegmentChange
- Describes a proposed segment change. This parameter is required.- Returns:
this
- See Also:
-
proposedSegmentChange
@Stability(Stable) public CfnSiteToSiteVpnAttachment.Builder proposedSegmentChange(CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty proposedSegmentChange) Describes a proposed segment change.In some cases, the segment change must first be evaluated and accepted.
- Parameters:
proposedSegmentChange
- Describes a proposed segment change. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags associated with the Site-to-Site VPN attachment.- Parameters:
tags
- The tags associated with the Site-to-Site VPN attachment. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSiteToSiteVpnAttachment>
- Returns:
- a newly built instance of
CfnSiteToSiteVpnAttachment
.
-