public static interface InvokeEndpointResponse.Builder extends SageMakerRuntimeResponse.Builder, SdkPojo, CopyableBuilder<InvokeEndpointResponse.Builder,InvokeEndpointResponse>
Modifier and Type | Method and Description |
---|---|
InvokeEndpointResponse.Builder |
body(SdkBytes body)
Includes the inference provided by the model.
|
InvokeEndpointResponse.Builder |
contentType(String contentType)
The MIME type of the inference returned in the response body.
|
InvokeEndpointResponse.Builder |
customAttributes(String customAttributes)
|
InvokeEndpointResponse.Builder |
invokedProductionVariant(String invokedProductionVariant)
Identifies the production variant that was invoked.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
InvokeEndpointResponse.Builder body(SdkBytes body)
Includes the inference provided by the model.
For information about the format of the response body, see Common Data Formats—Inference.
body
- Includes the inference provided by the model.
For information about the format of the response body, see Common Data Formats—Inference.
InvokeEndpointResponse.Builder contentType(String contentType)
The MIME type of the inference returned in the response body.
contentType
- The MIME type of the inference returned in the response body.InvokeEndpointResponse.Builder invokedProductionVariant(String invokedProductionVariant)
Identifies the production variant that was invoked.
invokedProductionVariant
- Identifies the production variant that was invoked.InvokeEndpointResponse.Builder customAttributes(String customAttributes)
customAttributes
- Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.