Interface RoutingTargetAsyncInferenceConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RoutingTargetAsyncInferenceConfig.Builder,,RoutingTargetAsyncInferenceConfig> SdkBuilder<RoutingTargetAsyncInferenceConfig.Builder,,RoutingTargetAsyncInferenceConfig> SdkPojo
- Enclosing class:
RoutingTargetAsyncInferenceConfig
@Mutable
@NotThreadSafe
public static interface RoutingTargetAsyncInferenceConfig.Builder
extends SdkPojo, CopyableBuilder<RoutingTargetAsyncInferenceConfig.Builder,RoutingTargetAsyncInferenceConfig>
-
Method Summary
Modifier and TypeMethodDescriptionclientConfig(Consumer<RoutingTargetAsyncInferenceClientConfig.Builder> clientConfig) How the inference router submits requests to destinations.clientConfig(RoutingTargetAsyncInferenceClientConfig clientConfig) How the inference router submits requests to destinations.outputConfig(Consumer<RoutingTargetAsyncInferenceOutputConfig.Builder> outputConfig) The Amazon S3 locations for the results of asynchronous requests, and the notification settings.outputConfig(RoutingTargetAsyncInferenceOutputConfig outputConfig) The Amazon S3 locations for the results of asynchronous requests, and the notification settings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
outputConfig
RoutingTargetAsyncInferenceConfig.Builder outputConfig(RoutingTargetAsyncInferenceOutputConfig outputConfig) The Amazon S3 locations for the results of asynchronous requests, and the notification settings.
- Parameters:
outputConfig- The Amazon S3 locations for the results of asynchronous requests, and the notification settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default RoutingTargetAsyncInferenceConfig.Builder outputConfig(Consumer<RoutingTargetAsyncInferenceOutputConfig.Builder> outputConfig) The Amazon S3 locations for the results of asynchronous requests, and the notification settings.
This is a convenience method that creates an instance of theRoutingTargetAsyncInferenceOutputConfig.Builderavoiding the need to create one manually viaRoutingTargetAsyncInferenceOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(RoutingTargetAsyncInferenceOutputConfig).- Parameters:
outputConfig- a consumer that will call methods onRoutingTargetAsyncInferenceOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientConfig
RoutingTargetAsyncInferenceConfig.Builder clientConfig(RoutingTargetAsyncInferenceClientConfig clientConfig) How the inference router submits requests to destinations.
- Parameters:
clientConfig- How the inference router submits requests to destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientConfig
default RoutingTargetAsyncInferenceConfig.Builder clientConfig(Consumer<RoutingTargetAsyncInferenceClientConfig.Builder> clientConfig) How the inference router submits requests to destinations.
This is a convenience method that creates an instance of theRoutingTargetAsyncInferenceClientConfig.Builderavoiding the need to create one manually viaRoutingTargetAsyncInferenceClientConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientConfig(RoutingTargetAsyncInferenceClientConfig).- Parameters:
clientConfig- a consumer that will call methods onRoutingTargetAsyncInferenceClientConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-