public GetNetworkRoutesRequest withExactCidrMatches(String... exactCidrMatches) {
        if (this.exactCidrMatches == null) {
            setExactCidrMatches(new java.util.ArrayList<String>(exactCidrMatches.length));
        }
        for (String ele : exactCidrMatches) {
            this.exactCidrMatches.add(ele);
        }
        return this;
    }
<p>
An exact CIDR block.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setExactCidrMatches(java.util.Collection)} or {@link #withExactCidrMatches(java.util.Collection)} if you
want to override the existing values.
</p>

@param exactCidrMatches
       An exact CIDR block.
@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