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) AWS::NetworkManager::SiteToSiteVpnAttachment.CoreNetworkId.proposedSegmentChange(IResolvable proposedSegmentChange) AWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange.proposedSegmentChange(CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty proposedSegmentChange) AWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange.AWS::NetworkManager::SiteToSiteVpnAttachment.Tags.vpnConnectionArn(String vpnConnectionArn) The ARN of the site-to-site VPN attachment.
-
Method Details
-
create
@Stability(Stable) public static CfnSiteToSiteVpnAttachment.Builder create(Construct scope, String id) - Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnSiteToSiteVpnAttachment.Builder.
-
coreNetworkId
AWS::NetworkManager::SiteToSiteVpnAttachment.CoreNetworkId.- Parameters:
coreNetworkId-AWS::NetworkManager::SiteToSiteVpnAttachment.CoreNetworkId. This parameter is required.- Returns:
this
-
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
-
proposedSegmentChange
@Stability(Stable) public CfnSiteToSiteVpnAttachment.Builder proposedSegmentChange(IResolvable proposedSegmentChange) AWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange.- Parameters:
proposedSegmentChange-AWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange. This parameter is required.- Returns:
this
-
proposedSegmentChange
@Stability(Stable) public CfnSiteToSiteVpnAttachment.Builder proposedSegmentChange(CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty proposedSegmentChange) AWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange.- Parameters:
proposedSegmentChange-AWS::NetworkManager::SiteToSiteVpnAttachment.ProposedSegmentChange. This parameter is required.- Returns:
this
-
tags
AWS::NetworkManager::SiteToSiteVpnAttachment.Tags.- Parameters:
tags-AWS::NetworkManager::SiteToSiteVpnAttachment.Tags. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSiteToSiteVpnAttachment>- Returns:
- a newly built instance of
CfnSiteToSiteVpnAttachment.
-