Interface AsyncInferenceOutputConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AsyncInferenceOutputConfig.Builder,AsyncInferenceOutputConfig>,SdkBuilder<AsyncInferenceOutputConfig.Builder,AsyncInferenceOutputConfig>,SdkPojo
- Enclosing class:
- AsyncInferenceOutputConfig
@Mutable @NotThreadSafe public static interface AsyncInferenceOutputConfig.Builder extends SdkPojo, CopyableBuilder<AsyncInferenceOutputConfig.Builder,AsyncInferenceOutputConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AsyncInferenceOutputConfig.BuilderkmsKeyId(String 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.default AsyncInferenceOutputConfig.BuildernotificationConfig(Consumer<AsyncInferenceNotificationConfig.Builder> notificationConfig)Specifies the configuration for notifications of inference results for asynchronous inference.AsyncInferenceOutputConfig.BuildernotificationConfig(AsyncInferenceNotificationConfig notificationConfig)Specifies the configuration for notifications of inference results for asynchronous inference.AsyncInferenceOutputConfig.Builders3FailurePath(String s3FailurePath)The Amazon S3 location to upload failure inference responses to.AsyncInferenceOutputConfig.Builders3OutputPath(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
kmsKeyId
AsyncInferenceOutputConfig.Builder kmsKeyId(String 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
AsyncInferenceOutputConfig.Builder s3OutputPath(String 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.Builderavoiding the need to create one manually viaAsyncInferenceNotificationConfig.builder().When the
Consumercompletes,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:
notificationConfig(AsyncInferenceNotificationConfig)
-
s3FailurePath
AsyncInferenceOutputConfig.Builder s3FailurePath(String 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.
-
-