#[non_exhaustive]pub struct AsyncInferenceNotificationConfigBuilder { /* private fields */ }
Expand description
A builder for AsyncInferenceNotificationConfig
.
Implementations§
source§impl AsyncInferenceNotificationConfigBuilder
impl AsyncInferenceNotificationConfigBuilder
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 include_inference_response_in(
self,
input: AsyncNotificationTopicTypes
) -> Self
pub fn include_inference_response_in( self, input: AsyncNotificationTopicTypes ) -> Self
Appends an item to include_inference_response_in
.
To override the contents of this collection use set_include_inference_response_in
.
The Amazon SNS topics where you want the inference response to be included.
sourcepub fn set_include_inference_response_in(
self,
input: Option<Vec<AsyncNotificationTopicTypes>>
) -> Self
pub fn set_include_inference_response_in( self, input: Option<Vec<AsyncNotificationTopicTypes>> ) -> Self
The Amazon SNS topics where you want the inference response to be included.
sourcepub fn build(self) -> AsyncInferenceNotificationConfig
pub fn build(self) -> AsyncInferenceNotificationConfig
Consumes the builder and constructs a AsyncInferenceNotificationConfig
.
Trait Implementations§
source§impl Clone for AsyncInferenceNotificationConfigBuilder
impl Clone for AsyncInferenceNotificationConfigBuilder
source§fn clone(&self) -> AsyncInferenceNotificationConfigBuilder
fn clone(&self) -> AsyncInferenceNotificationConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AsyncInferenceNotificationConfigBuilder
impl Default for AsyncInferenceNotificationConfigBuilder
source§fn default() -> AsyncInferenceNotificationConfigBuilder
fn default() -> AsyncInferenceNotificationConfigBuilder
source§impl PartialEq<AsyncInferenceNotificationConfigBuilder> for AsyncInferenceNotificationConfigBuilder
impl PartialEq<AsyncInferenceNotificationConfigBuilder> for AsyncInferenceNotificationConfigBuilder
source§fn eq(&self, other: &AsyncInferenceNotificationConfigBuilder) -> bool
fn eq(&self, other: &AsyncInferenceNotificationConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.