Interface AsyncInferenceNotificationConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AsyncInferenceNotificationConfig.Builder,AsyncInferenceNotificationConfig>
,SdkBuilder<AsyncInferenceNotificationConfig.Builder,AsyncInferenceNotificationConfig>
,SdkPojo
- Enclosing class:
- AsyncInferenceNotificationConfig
public static interface AsyncInferenceNotificationConfig.Builder extends SdkPojo, CopyableBuilder<AsyncInferenceNotificationConfig.Builder,AsyncInferenceNotificationConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncInferenceNotificationConfig.Builder
errorTopic(String errorTopic)
Amazon SNS topic to post a notification to when inference fails.AsyncInferenceNotificationConfig.Builder
includeInferenceResponseIn(Collection<AsyncNotificationTopicTypes> includeInferenceResponseIn)
The Amazon SNS topics where you want the inference response to be included.AsyncInferenceNotificationConfig.Builder
includeInferenceResponseIn(AsyncNotificationTopicTypes... includeInferenceResponseIn)
The Amazon SNS topics where you want the inference response to be included.AsyncInferenceNotificationConfig.Builder
includeInferenceResponseInWithStrings(String... includeInferenceResponseIn)
The Amazon SNS topics where you want the inference response to be included.AsyncInferenceNotificationConfig.Builder
includeInferenceResponseInWithStrings(Collection<String> includeInferenceResponseIn)
The Amazon SNS topics where you want the inference response to be included.AsyncInferenceNotificationConfig.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
successTopic
AsyncInferenceNotificationConfig.Builder successTopic(String 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
AsyncInferenceNotificationConfig.Builder errorTopic(String 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.
-
-