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

@param excludePaths
       The paths to exclude.
@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