responds
Defines the expected response from the system in response to a completions request.
This method allows specifying the response using a Consumer-like approach for Java interop.
Parameters
block
a Consumer that configures the resulting response by applying specifications to an instance of the response object.