@Override
    public Builder toBuilder() {
        return builder()
                .id(this.getId())
                .params(this.getParams().orElse(null))
                .vendorParams(this.getVendorParams().orElse(null))
                .vendorParamsShape(this.getVendorParamsShape().orElse(null))
                .expectation(this.getExpectation())
                .tags(this.getTags());
    }
Get the expected response from the service call for this test case.

<p>This expectation can be either a successful response, any error
response, or a specific error response.

@return Returns expectation.
smithy-smoke-test-traits/src/main/java/software/amazon/smithy/smoketests/traits/SmokeTestCase.java