public CreateNetworkInsightsAccessScopeRequest withMatchPaths(AccessScopePathRequest... matchPaths) {
        if (this.matchPaths == null) {
            setMatchPaths(new com.amazonaws.internal.SdkInternalList<AccessScopePathRequest>(matchPaths.length));
        }
        for (AccessScopePathRequest ele : matchPaths) {
            this.matchPaths.add(ele);
        }
        return this;
    }
<p>
The paths to match.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMatchPaths(java.util.Collection)} or {@link #withMatchPaths(java.util.Collection)} if you want to
override the existing values.
</p>

@param matchPaths
       The paths to match.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkInsightsAccessScopeRequest.java