Interface InvokeInferenceRouterAsyncResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<InvokeInferenceRouterAsyncResponse.Builder,,InvokeInferenceRouterAsyncResponse> SageMakerInferenceRouterRuntimeResponse.Builder,SdkBuilder<InvokeInferenceRouterAsyncResponse.Builder,,InvokeInferenceRouterAsyncResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
InvokeInferenceRouterAsyncResponse
@Mutable
@NotThreadSafe
public static interface InvokeInferenceRouterAsyncResponse.Builder
extends SageMakerInferenceRouterRuntimeResponse.Builder, SdkPojo, CopyableBuilder<InvokeInferenceRouterAsyncResponse.Builder,InvokeInferenceRouterAsyncResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailureLocation(String failureLocation) The Amazon S3 URI where the failure details are written if the inference fails.inferenceId(String inferenceId) The identifier for the inference request.outputLocation(String outputLocation) The Amazon S3 URI where the inference response is written.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemakerinferencerouterruntime.model.SageMakerInferenceRouterRuntimeResponse.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
-
inferenceId
The identifier for the inference request. This is the
InferenceIdthat you provided, or the one that SageMaker AI generated.- Parameters:
inferenceId- The identifier for the inference request. This is theInferenceIdthat you provided, or the one that SageMaker AI generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputLocation
The Amazon S3 URI where the inference response is written. The location doesn't change if the router moves the request to another destination.
- Parameters:
outputLocation- The Amazon S3 URI where the inference response is written. The location doesn't change if the router moves the request to another destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureLocation
The Amazon S3 URI where the failure details are written if the inference fails.
- Parameters:
failureLocation- The Amazon S3 URI where the failure details are written if the inference fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-