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 Details

    • create

      @Stability(Stable) public static CfnSiteToSiteVpnAttachment.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnSiteToSiteVpnAttachment.Builder.
    • coreNetworkId

      @Stability(Stable) public CfnSiteToSiteVpnAttachment.Builder coreNetworkId(String 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

      @Stability(Stable) public CfnSiteToSiteVpnAttachment.Builder tags(List<? extends CfnTag> tags)
      AWS::NetworkManager::SiteToSiteVpnAttachment.Tags.

      Parameters:
      tags - AWS::NetworkManager::SiteToSiteVpnAttachment.Tags. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnSiteToSiteVpnAttachment build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSiteToSiteVpnAttachment>
      Returns:
      a newly built instance of CfnSiteToSiteVpnAttachment.