Interface AsyncInferenceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AsyncInferenceConfig.Builder,
,AsyncInferenceConfig> SdkBuilder<AsyncInferenceConfig.Builder,
,AsyncInferenceConfig> SdkPojo
- Enclosing class:
AsyncInferenceConfig
public static interface AsyncInferenceConfig.Builder
extends SdkPojo, CopyableBuilder<AsyncInferenceConfig.Builder,AsyncInferenceConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.clientConfig
(AsyncInferenceClientConfig clientConfig) Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.default AsyncInferenceConfig.Builder
outputConfig
(Consumer<AsyncInferenceOutputConfig.Builder> outputConfig) Specifies the configuration for asynchronous inference invocation outputs.outputConfig
(AsyncInferenceOutputConfig outputConfig) Specifies the configuration for asynchronous inference invocation outputs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientConfig
Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.
- Parameters:
clientConfig
- Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientConfig
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 viaAsyncInferenceClientConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientConfig(AsyncInferenceClientConfig)
.- Parameters:
clientConfig
- a consumer that will call methods onAsyncInferenceClientConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputConfig
Specifies the configuration for asynchronous inference invocation outputs.
- Parameters:
outputConfig
- Specifies the configuration for asynchronous inference invocation outputs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
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 viaAsyncInferenceOutputConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputConfig(AsyncInferenceOutputConfig)
.- Parameters:
outputConfig
- a consumer that will call methods onAsyncInferenceOutputConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-