@Generated(value="software.amazon.awssdk:codegen") public final class InvokeModelWithResponseStreamRequest extends BedrockRuntimeRequest implements ToCopyableBuilder<InvokeModelWithResponseStreamRequest.Builder,InvokeModelWithResponseStreamRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
InvokeModelWithResponseStreamRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accept()
The desired MIME type of the inference body in the response.
|
SdkBytes |
body()
Inference input in the format specified by the content-type.
|
static InvokeModelWithResponseStreamRequest.Builder |
builder() |
String |
contentType()
The MIME type of the input data in the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
modelId()
Id of the model to invoke using the streaming request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvokeModelWithResponseStreamRequest.Builder> |
serializableBuilderClass() |
InvokeModelWithResponseStreamRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accept()
The desired MIME type of the inference body in the response. The default value is application/json.
application/json.public final 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.
public final String contentType()
The MIME type of the input data in the request. The default value is application/json.
application/json.public final String modelId()
Id of the model to invoke using the streaming request.
public InvokeModelWithResponseStreamRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InvokeModelWithResponseStreamRequest.Builder,InvokeModelWithResponseStreamRequest>toBuilder in class BedrockRuntimeRequestpublic static InvokeModelWithResponseStreamRequest.Builder builder()
public static Class<? extends InvokeModelWithResponseStreamRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.