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