@Override
    public Builder toBuilder() {
        Builder builder = builder()
                .method(getMethod())
                .uri(getUri())
                .queryParams(getQueryParams())
                .forbidQueryParams(getForbidQueryParams())
                .requireQueryParams(getRequireQueryParams());
        getHost().ifPresent(builder::host);
        getResolvedHost().ifPresent(builder::resolvedHost);
        updateBuilder(builder);
        return builder;
    }
Defines a test case for an HTTP request.
smithy-protocol-test-traits/src/main/java/software/amazon/smithy/protocoltests/traits/HttpRequestTestCase.java