Interface SampleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SampleResponse.Builder,,SampleResponse> SagemakerJobRuntimeResponse.Builder,SdkBuilder<SampleResponse.Builder,,SampleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SampleResponse
@Mutable
@NotThreadSafe
public static interface SampleResponse.Builder
extends SagemakerJobRuntimeResponse.Builder, SdkPojo, CopyableBuilder<SampleResponse.Builder,SampleResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe raw inference response body from the model.contentType(String contentType) MIME type of the inference result.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemakerjobruntime.model.SagemakerJobRuntimeResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
contentType
MIME type of the inference result.
- Parameters:
contentType- MIME type of the inference result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
The raw inference response body from the model.
- Parameters:
body- The raw inference response body from the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-