@Override
    public Builder toBuilder() {
        Builder builder = builder()
                .mediaType(getMediaType());
        getContents().ifPresent(builder::mediaType);
        getMessageRegex().ifPresent(builder::messageRegex);
        return builder;
    }
Defines the response expected by an HttpMalformedRequest test case.
smithy-protocol-test-traits/src/main/java/software/amazon/smithy/protocoltests/traits/HttpMalformedResponseBodyDefinition.java