public ProposedSegmentChange withAttachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber) {
        setAttachmentPolicyRuleNumber(attachmentPolicyRuleNumber);
        return this;
    }
<p>
The rule number in the policy document that applies to this change.
</p>

@param attachmentPolicyRuleNumber
       The rule number in the policy document that applies to this change.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/ProposedSegmentChange.java