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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AsyncInferenceConfig.BuilderclientConfig(Consumer<AsyncInferenceClientConfig.Builder> clientConfig)Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.AsyncInferenceConfig.BuilderclientConfig(AsyncInferenceClientConfig clientConfig)Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.default AsyncInferenceConfig.BuilderoutputConfig(Consumer<AsyncInferenceOutputConfig.Builder> outputConfig)Specifies the configuration for asynchronous inference invocation outputs.AsyncInferenceConfig.BuilderoutputConfig(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clientConfig
AsyncInferenceConfig.Builder clientConfig(AsyncInferenceClientConfig 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.Builderavoiding the need to create one manually viaAsyncInferenceClientConfig.builder().When the
Consumercompletes,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:
clientConfig(AsyncInferenceClientConfig)
-
outputConfig
AsyncInferenceConfig.Builder outputConfig(AsyncInferenceOutputConfig 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.Builderavoiding the need to create one manually viaAsyncInferenceOutputConfig.builder().When the
Consumercompletes,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:
outputConfig(AsyncInferenceOutputConfig)
-
-