public GetNetworkRoutesRequest withSupernetOfMatches(String... supernetOfMatches) {
        if (this.supernetOfMatches == null) {
            setSupernetOfMatches(new java.util.ArrayList<String>(supernetOfMatches.length));
        }
        for (String ele : supernetOfMatches) {
            this.supernetOfMatches.add(ele);
        }
        return this;
    }
<p>
The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result
returns 10.0.1.0/29.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSupernetOfMatches(java.util.Collection)} or {@link #withSupernetOfMatches(java.util.Collection)} if
you want to override the existing values.
</p>

@param supernetOfMatches
       The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the
       result returns 10.0.1.0/29.
@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/GetNetworkRoutesRequest.java