Class CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty>
- Enclosing interface:
- CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty
@Stability(Stable)
public static final class CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty>
A builder for
CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentPolicyRuleNumber(Number attachmentPolicyRuleNumber) build()Builds the configured instance.segmentName(String segmentName) Sets the value ofCfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachmentPolicyRuleNumber
@Stability(Stable) public CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty.Builder attachmentPolicyRuleNumber(Number attachmentPolicyRuleNumber) Sets the value ofCfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty.getAttachmentPolicyRuleNumber()- Parameters:
attachmentPolicyRuleNumber- The rule number in the policy document that applies to this change.- Returns:
this
-
segmentName
@Stability(Stable) public CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty.Builder segmentName(String segmentName) - Parameters:
segmentName- The name of the segment to change.- Returns:
this
-
tags
@Stability(Stable) public CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty.getTags()- Parameters:
tags- The list of key-value tags that changed for the segment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty>- Returns:
- a new instance of
CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty - Throws:
NullPointerException- if any required attribute was not provided
-