@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getGlobalNetworkId() != null)
            sb.append("GlobalNetworkId: ").append(getGlobalNetworkId()).append(",");
        if (getRouteTableIdentifier() != null)
            sb.append("RouteTableIdentifier: ").append(getRouteTableIdentifier()).append(",");
        if (getExactCidrMatches() != null)
            sb.append("ExactCidrMatches: ").append(getExactCidrMatches()).append(",");
        if (getLongestPrefixMatches() != null)
            sb.append("LongestPrefixMatches: ").append(getLongestPrefixMatches()).append(",");
        if (getSubnetOfMatches() != null)
            sb.append("SubnetOfMatches: ").append(getSubnetOfMatches()).append(",");
        if (getSupernetOfMatches() != null)
            sb.append("SupernetOfMatches: ").append(getSupernetOfMatches()).append(",");
        if (getPrefixListIds() != null)
            sb.append("PrefixListIds: ").append(getPrefixListIds()).append(",");
        if (getStates() != null)
            sb.append("States: ").append(getStates()).append(",");
        if (getTypes() != null)
            sb.append("Types: ").append(getTypes()).append(",");
        if (getDestinationFilters() != null)
            sb.append("DestinationFilters: ").append(getDestinationFilters());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/GetNetworkRoutesRequest.java