Interface RoutingTargetAsyncInferenceOutputConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RoutingTargetAsyncInferenceOutputConfig.Builder,,RoutingTargetAsyncInferenceOutputConfig> SdkBuilder<RoutingTargetAsyncInferenceOutputConfig.Builder,,RoutingTargetAsyncInferenceOutputConfig> SdkPojo
- Enclosing class:
RoutingTargetAsyncInferenceOutputConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe KMS key that encrypts the results in Amazon S3.notificationConfig(Consumer<RoutingTargetAsyncInferenceNotificationConfig.Builder> notificationConfig) The Amazon SNS topics that the inference router publishes to when a request completes or fails.notificationConfig(RoutingTargetAsyncInferenceNotificationConfig notificationConfig) The Amazon SNS topics that the inference router publishes to when a request completes or fails.s3FailurePath(String s3FailurePath) The Amazon S3 location for the failure details of failed requests.s3OutputPath(String s3OutputPath) The Amazon S3 location for the results of successful requests.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
-
s3OutputPath
The Amazon S3 location for the results of successful requests. The bucket must be in the inference router's Amazon Web Services Region and owned by the router's account.
- Parameters:
s3OutputPath- The Amazon S3 location for the results of successful requests. The bucket must be in the inference router's Amazon Web Services Region and owned by the router's account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3FailurePath
The Amazon S3 location for the failure details of failed requests. The bucket must be in the inference router's Amazon Web Services Region and owned by the router's account.
- Parameters:
s3FailurePath- The Amazon S3 location for the failure details of failed requests. The bucket must be in the inference router's Amazon Web Services Region and owned by the router's account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The KMS key that encrypts the results in Amazon S3. You can specify a key ID, key ARN, alias name, or alias ARN. If any destination is in a different account or Amazon Web Services Region from the inference router, specify a key ARN or an alias ARN.
- Parameters:
kmsKeyId- The KMS key that encrypts the results in Amazon S3. You can specify a key ID, key ARN, alias name, or alias ARN. If any destination is in a different account or Amazon Web Services Region from the inference router, specify a key ARN or an alias ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfig
RoutingTargetAsyncInferenceOutputConfig.Builder notificationConfig(RoutingTargetAsyncInferenceNotificationConfig notificationConfig) The Amazon SNS topics that the inference router publishes to when a request completes or fails.
- Parameters:
notificationConfig- The Amazon SNS topics that the inference router publishes to when a request completes or fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfig
default RoutingTargetAsyncInferenceOutputConfig.Builder notificationConfig(Consumer<RoutingTargetAsyncInferenceNotificationConfig.Builder> notificationConfig) The Amazon SNS topics that the inference router publishes to when a request completes or fails.
This is a convenience method that creates an instance of theRoutingTargetAsyncInferenceNotificationConfig.Builderavoiding the need to create one manually viaRoutingTargetAsyncInferenceNotificationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationConfig(RoutingTargetAsyncInferenceNotificationConfig).- Parameters:
notificationConfig- a consumer that will call methods onRoutingTargetAsyncInferenceNotificationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-