Interface SampleTrainingSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SampleTrainingSessionResponse.Builder,,SampleTrainingSessionResponse> SageMakerTrainingSessionRuntimeResponse.Builder,SdkBuilder<SampleTrainingSessionResponse.Builder,,SampleTrainingSessionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SampleTrainingSessionResponse
@Mutable
@NotThreadSafe
public static interface SampleTrainingSessionResponse.Builder
extends SageMakerTrainingSessionRuntimeResponse.Builder, SdkPojo, CopyableBuilder<SampleTrainingSessionResponse.Builder,SampleTrainingSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe raw inference response body from the model.contentType(String contentType) The MIME type of the inference result in the response body.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemakertrainingsessionruntime.model.SageMakerTrainingSessionRuntimeResponse.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
The MIME type of the inference result in the response body.
- Parameters:
contentType- The MIME type of the inference result in the response body.- 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.
-