@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getGrpcRoute() != null)
            sb.append("GrpcRoute: ").append(getGrpcRoute()).append(",");
        if (getHttp2Route() != null)
            sb.append("Http2Route: ").append(getHttp2Route()).append(",");
        if (getHttpRoute() != null)
            sb.append("HttpRoute: ").append(getHttpRoute()).append(",");
        if (getPriority() != null)
            sb.append("Priority: ").append(getPriority()).append(",");
        if (getTcpRoute() != null)
            sb.append("TcpRoute: ").append(getTcpRoute());
        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-appmesh/src/main/java/com/amazonaws/services/appmesh/model/RouteSpec.java