Interface AsyncInferenceNotificationConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AsyncInferenceNotificationConfig.Builder,
,AsyncInferenceNotificationConfig> SdkBuilder<AsyncInferenceNotificationConfig.Builder,
,AsyncInferenceNotificationConfig> SdkPojo
- Enclosing class:
AsyncInferenceNotificationConfig
-
Method Summary
Modifier and TypeMethodDescriptionerrorTopic
(String errorTopic) Amazon SNS topic to post a notification to when inference fails.includeInferenceResponseIn
(Collection<AsyncNotificationTopicTypes> includeInferenceResponseIn) The Amazon SNS topics where you want the inference response to be included.includeInferenceResponseIn
(AsyncNotificationTopicTypes... includeInferenceResponseIn) The Amazon SNS topics where you want the inference response to be included.includeInferenceResponseInWithStrings
(String... includeInferenceResponseIn) The Amazon SNS topics where you want the inference response to be included.includeInferenceResponseInWithStrings
(Collection<String> includeInferenceResponseIn) The Amazon SNS topics where you want the inference response to be included.successTopic
(String successTopic) Amazon SNS topic to post a notification to when inference completes successfully.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
-
successTopic
Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.
- Parameters:
successTopic
- Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorTopic
Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.
- Parameters:
errorTopic
- Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeInferenceResponseInWithStrings
AsyncInferenceNotificationConfig.Builder includeInferenceResponseInWithStrings(Collection<String> includeInferenceResponseIn) The Amazon SNS topics where you want the inference response to be included.
The inference response is included only if the response size is less than or equal to 128 KB.
- Parameters:
includeInferenceResponseIn
- The Amazon SNS topics where you want the inference response to be included.The inference response is included only if the response size is less than or equal to 128 KB.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeInferenceResponseInWithStrings
AsyncInferenceNotificationConfig.Builder includeInferenceResponseInWithStrings(String... includeInferenceResponseIn) The Amazon SNS topics where you want the inference response to be included.
The inference response is included only if the response size is less than or equal to 128 KB.
- Parameters:
includeInferenceResponseIn
- The Amazon SNS topics where you want the inference response to be included.The inference response is included only if the response size is less than or equal to 128 KB.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeInferenceResponseIn
AsyncInferenceNotificationConfig.Builder includeInferenceResponseIn(Collection<AsyncNotificationTopicTypes> includeInferenceResponseIn) The Amazon SNS topics where you want the inference response to be included.
The inference response is included only if the response size is less than or equal to 128 KB.
- Parameters:
includeInferenceResponseIn
- The Amazon SNS topics where you want the inference response to be included.The inference response is included only if the response size is less than or equal to 128 KB.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeInferenceResponseIn
AsyncInferenceNotificationConfig.Builder includeInferenceResponseIn(AsyncNotificationTopicTypes... includeInferenceResponseIn) The Amazon SNS topics where you want the inference response to be included.
The inference response is included only if the response size is less than or equal to 128 KB.
- Parameters:
includeInferenceResponseIn
- The Amazon SNS topics where you want the inference response to be included.The inference response is included only if the response size is less than or equal to 128 KB.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-