public static interface AsyncInferenceConfig.Builder extends SdkPojo, CopyableBuilder<AsyncInferenceConfig.Builder,AsyncInferenceConfig>
Modifier and Type | Method and Description |
---|---|
AsyncInferenceConfig.Builder |
clientConfig(AsyncInferenceClientConfig clientConfig)
Configures the behavior of the client used by SageMaker to interact with the model container during
asynchronous inference.
|
default AsyncInferenceConfig.Builder |
clientConfig(Consumer<AsyncInferenceClientConfig.Builder> clientConfig)
Configures the behavior of the client used by SageMaker to interact with the model container during
asynchronous inference.
|
AsyncInferenceConfig.Builder |
outputConfig(AsyncInferenceOutputConfig outputConfig)
Specifies the configuration for asynchronous inference invocation outputs.
|
default AsyncInferenceConfig.Builder |
outputConfig(Consumer<AsyncInferenceOutputConfig.Builder> outputConfig)
Specifies the configuration for asynchronous inference invocation outputs.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AsyncInferenceConfig.Builder clientConfig(AsyncInferenceClientConfig clientConfig)
Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.
clientConfig
- Configures the behavior of the client used by SageMaker to interact with the model container during
asynchronous inference.default AsyncInferenceConfig.Builder clientConfig(Consumer<AsyncInferenceClientConfig.Builder> clientConfig)
Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.
This is a convenience method that creates an instance of theAsyncInferenceClientConfig.Builder
avoiding the need to create one manually via AsyncInferenceClientConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to clientConfig(AsyncInferenceClientConfig)
.clientConfig
- a consumer that will call methods on AsyncInferenceClientConfig.Builder
clientConfig(AsyncInferenceClientConfig)
AsyncInferenceConfig.Builder outputConfig(AsyncInferenceOutputConfig outputConfig)
Specifies the configuration for asynchronous inference invocation outputs.
outputConfig
- Specifies the configuration for asynchronous inference invocation outputs.default AsyncInferenceConfig.Builder outputConfig(Consumer<AsyncInferenceOutputConfig.Builder> outputConfig)
Specifies the configuration for asynchronous inference invocation outputs.
This is a convenience method that creates an instance of theAsyncInferenceOutputConfig.Builder
avoiding the need to create one manually via AsyncInferenceOutputConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to outputConfig(AsyncInferenceOutputConfig)
.outputConfig
- a consumer that will call methods on AsyncInferenceOutputConfig.Builder
outputConfig(AsyncInferenceOutputConfig)
Copyright © 2022. All rights reserved.