public static interface InvokeEndpointRequest.Builder extends SageMakerRuntimeRequest.Builder, SdkPojo, CopyableBuilder<InvokeEndpointRequest.Builder,InvokeEndpointRequest>
| Modifier and Type | Method and Description |
|---|---|
InvokeEndpointRequest.Builder |
accept(String accept)
The desired MIME type of the inference in the response.
|
InvokeEndpointRequest.Builder |
body(SdkBytes body)
Provides input data, in the format specified in the
ContentType request header. |
InvokeEndpointRequest.Builder |
contentType(String contentType)
The MIME type of the input data in the request body.
|
InvokeEndpointRequest.Builder |
customAttributes(String customAttributes)
|
InvokeEndpointRequest.Builder |
endpointName(String endpointName)
The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.
|
InvokeEndpointRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
InvokeEndpointRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
buildoverrideConfigurationcopyapplyMutation, buildInvokeEndpointRequest.Builder endpointName(String endpointName)
The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.
endpointName - The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.InvokeEndpointRequest.Builder body(SdkBytes body)
Provides input data, in the format specified in the ContentType request header. Amazon SageMaker
passes all of the data in the body to the model.
For information about the format of the request body, see Common Data Formats—Inference.
body - Provides input data, in the format specified in the ContentType request header. Amazon
SageMaker passes all of the data in the body to the model.
For information about the format of the request body, see Common Data Formats—Inference.
InvokeEndpointRequest.Builder contentType(String contentType)
The MIME type of the input data in the request body.
contentType - The MIME type of the input data in the request body.InvokeEndpointRequest.Builder accept(String accept)
The desired MIME type of the inference in the response.
accept - The desired MIME type of the inference in the response.InvokeEndpointRequest.Builder customAttributes(String customAttributes)
customAttributes - InvokeEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.InvokeEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.