Interface AsyncInferenceOutputConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AsyncInferenceOutputConfig.Builder,
,AsyncInferenceOutputConfig> SdkBuilder<AsyncInferenceOutputConfig.Builder,
,AsyncInferenceOutputConfig> SdkPojo
- Enclosing class:
AsyncInferenceOutputConfig
public static interface AsyncInferenceOutputConfig.Builder
extends SdkPojo, CopyableBuilder<AsyncInferenceOutputConfig.Builder,AsyncInferenceOutputConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the asynchronous inference output in Amazon S3.notificationConfig
(Consumer<AsyncInferenceNotificationConfig.Builder> notificationConfig) Specifies the configuration for notifications of inference results for asynchronous inference.notificationConfig
(AsyncInferenceNotificationConfig notificationConfig) Specifies the configuration for notifications of inference results for asynchronous inference.s3FailurePath
(String s3FailurePath) The Amazon S3 location to upload failure inference responses to.s3OutputPath
(String s3OutputPath) The Amazon S3 location to upload inference responses to.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
-
kmsKeyId
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the asynchronous inference output in Amazon S3.
- Parameters:
kmsKeyId
- The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the asynchronous inference output in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3OutputPath
The Amazon S3 location to upload inference responses to.
- Parameters:
s3OutputPath
- The Amazon S3 location to upload inference responses to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfig
AsyncInferenceOutputConfig.Builder notificationConfig(AsyncInferenceNotificationConfig notificationConfig) Specifies the configuration for notifications of inference results for asynchronous inference.
- Parameters:
notificationConfig
- Specifies the configuration for notifications of inference results for asynchronous inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfig
default AsyncInferenceOutputConfig.Builder notificationConfig(Consumer<AsyncInferenceNotificationConfig.Builder> notificationConfig) Specifies the configuration for notifications of inference results for asynchronous inference.
This is a convenience method that creates an instance of theAsyncInferenceNotificationConfig.Builder
avoiding the need to create one manually viaAsyncInferenceNotificationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationConfig(AsyncInferenceNotificationConfig)
.- Parameters:
notificationConfig
- a consumer that will call methods onAsyncInferenceNotificationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3FailurePath
The Amazon S3 location to upload failure inference responses to.
- Parameters:
s3FailurePath
- The Amazon S3 location to upload failure inference responses to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-