pub struct Builder { /* private fields */ }
Expand description
A builder for AsyncInferenceNotificationConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn success_topic(self, input: impl Into<String>) -> Self
pub fn success_topic(self, input: impl Into<String>) -> Self
Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.
sourcepub fn set_success_topic(self, input: Option<String>) -> Self
pub fn set_success_topic(self, input: Option<String>) -> Self
Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.
sourcepub fn error_topic(self, input: impl Into<String>) -> Self
pub fn error_topic(self, input: impl Into<String>) -> Self
Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.
sourcepub fn set_error_topic(self, input: Option<String>) -> Self
pub fn set_error_topic(self, input: Option<String>) -> Self
Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.
sourcepub fn build(self) -> AsyncInferenceNotificationConfig
pub fn build(self) -> AsyncInferenceNotificationConfig
Consumes the builder and constructs a AsyncInferenceNotificationConfig
.