public static interface InvokeModelWithResponseStreamRequest.Builder extends BedrockRuntimeRequest.Builder, SdkPojo, CopyableBuilder<InvokeModelWithResponseStreamRequest.Builder,InvokeModelWithResponseStreamRequest>
| Modifier and Type | Method and Description |
|---|---|
InvokeModelWithResponseStreamRequest.Builder |
accept(String accept)
The desired MIME type of the inference body in the response.
|
InvokeModelWithResponseStreamRequest.Builder |
body(SdkBytes body)
Inference input in the format specified by the content-type.
|
InvokeModelWithResponseStreamRequest.Builder |
contentType(String contentType)
The MIME type of the input data in the request.
|
InvokeModelWithResponseStreamRequest.Builder |
modelId(String modelId)
Id of the model to invoke using the streaming request.
|
InvokeModelWithResponseStreamRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
InvokeModelWithResponseStreamRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildInvokeModelWithResponseStreamRequest.Builder accept(String accept)
The desired MIME type of the inference body in the response. The default value is
application/json.
accept - The desired MIME type of the inference body in the response. The default value is
application/json.InvokeModelWithResponseStreamRequest.Builder body(SdkBytes body)
Inference input in the format specified by the content-type. To see the format and content of this field for different models, refer to Inference parameters.
body - Inference input in the format specified by the content-type. To see the format and content of this
field for different models, refer to Inference
parameters.InvokeModelWithResponseStreamRequest.Builder contentType(String contentType)
The MIME type of the input data in the request. The default value is application/json.
contentType - The MIME type of the input data in the request. The default value is application/json.InvokeModelWithResponseStreamRequest.Builder modelId(String modelId)
Id of the model to invoke using the streaming request.
modelId - Id of the model to invoke using the streaming request.InvokeModelWithResponseStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderInvokeModelWithResponseStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.