Class CfnSiteToSiteVpnAttachmentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkmanager.CfnSiteToSiteVpnAttachmentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSiteToSiteVpnAttachmentMixinProps>
- Enclosing interface:
CfnSiteToSiteVpnAttachmentMixinProps
@Stability(Stable)
public static final class CfnSiteToSiteVpnAttachmentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSiteToSiteVpnAttachmentMixinProps>
A builder for
CfnSiteToSiteVpnAttachmentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.coreNetworkId(String coreNetworkId) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getCoreNetworkId()networkFunctionGroupName(String networkFunctionGroupName) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getNetworkFunctionGroupName()proposedNetworkFunctionGroupChange(CfnSiteToSiteVpnAttachmentPropsMixin.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) proposedSegmentChange(CfnSiteToSiteVpnAttachmentPropsMixin.ProposedSegmentChangeProperty proposedSegmentChange) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getProposedSegmentChange()proposedSegmentChange(IResolvable proposedSegmentChange) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getProposedSegmentChange()routingPolicyLabel(String routingPolicyLabel) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getRoutingPolicyLabel()Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getTags()vpnConnectionArn(String vpnConnectionArn) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getVpnConnectionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coreNetworkId
@Stability(Stable) public CfnSiteToSiteVpnAttachmentMixinProps.Builder coreNetworkId(String coreNetworkId) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getCoreNetworkId()- Parameters:
coreNetworkId- The ID of a core network where you're creating a site-to-site VPN attachment.- Returns:
this
-
networkFunctionGroupName
@Stability(Stable) public CfnSiteToSiteVpnAttachmentMixinProps.Builder networkFunctionGroupName(String networkFunctionGroupName) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getNetworkFunctionGroupName()- Parameters:
networkFunctionGroupName- The name of the network function group.- Returns:
this
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnSiteToSiteVpnAttachmentMixinProps.Builder proposedNetworkFunctionGroupChange(IResolvable proposedNetworkFunctionGroupChange) - Parameters:
proposedNetworkFunctionGroupChange- Describes proposed changes to a network function group.- Returns:
this
-
proposedNetworkFunctionGroupChange
@Stability(Stable) public CfnSiteToSiteVpnAttachmentMixinProps.Builder proposedNetworkFunctionGroupChange(CfnSiteToSiteVpnAttachmentPropsMixin.ProposedNetworkFunctionGroupChangeProperty proposedNetworkFunctionGroupChange) - Parameters:
proposedNetworkFunctionGroupChange- Describes proposed changes to a network function group.- Returns:
this
-
proposedSegmentChange
@Stability(Stable) public CfnSiteToSiteVpnAttachmentMixinProps.Builder proposedSegmentChange(IResolvable proposedSegmentChange) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getProposedSegmentChange()- Parameters:
proposedSegmentChange- Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted.- Returns:
this
-
proposedSegmentChange
@Stability(Stable) public CfnSiteToSiteVpnAttachmentMixinProps.Builder proposedSegmentChange(CfnSiteToSiteVpnAttachmentPropsMixin.ProposedSegmentChangeProperty proposedSegmentChange) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getProposedSegmentChange()- Parameters:
proposedSegmentChange- Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted.- Returns:
this
-
routingPolicyLabel
@Stability(Stable) public CfnSiteToSiteVpnAttachmentMixinProps.Builder routingPolicyLabel(String routingPolicyLabel) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getRoutingPolicyLabel()- Parameters:
routingPolicyLabel- Routing policy label.- Returns:
this
-
tags
@Stability(Stable) public CfnSiteToSiteVpnAttachmentMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getTags()- Parameters:
tags- The tags associated with the Site-to-Site VPN attachment.- Returns:
this
-
vpnConnectionArn
@Stability(Stable) public CfnSiteToSiteVpnAttachmentMixinProps.Builder vpnConnectionArn(String vpnConnectionArn) Sets the value ofCfnSiteToSiteVpnAttachmentMixinProps.getVpnConnectionArn()- Parameters:
vpnConnectionArn- The ARN of the site-to-site VPN attachment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSiteToSiteVpnAttachmentMixinProps>- Returns:
- a new instance of
CfnSiteToSiteVpnAttachmentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-