Struct aws_sdk_dataexchange::operation::send_data_set_notification::builders::SendDataSetNotificationInputBuilder
source · #[non_exhaustive]pub struct SendDataSetNotificationInputBuilder { /* private fields */ }Expand description
A builder for SendDataSetNotificationInput.
Implementations§
source§impl SendDataSetNotificationInputBuilder
impl SendDataSetNotificationInputBuilder
sourcepub fn scope(self, input: ScopeDetails) -> Self
pub fn scope(self, input: ScopeDetails) -> Self
Affected scope of this notification such as the underlying resources affected by the notification event.
sourcepub fn set_scope(self, input: Option<ScopeDetails>) -> Self
pub fn set_scope(self, input: Option<ScopeDetails>) -> Self
Affected scope of this notification such as the underlying resources affected by the notification event.
sourcepub fn get_scope(&self) -> &Option<ScopeDetails>
pub fn get_scope(&self) -> &Option<ScopeDetails>
Affected scope of this notification such as the underlying resources affected by the notification event.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Idempotency key for the notification, this key allows us to deduplicate notifications that are sent in quick succession erroneously.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Idempotency key for the notification, this key allows us to deduplicate notifications that are sent in quick succession erroneously.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Idempotency key for the notification, this key allows us to deduplicate notifications that are sent in quick succession erroneously.
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
Free-form text field for providers to add information about their notifications.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
Free-form text field for providers to add information about their notifications.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
Free-form text field for providers to add information about their notifications.
sourcepub fn data_set_id(self, input: impl Into<String>) -> Self
pub fn data_set_id(self, input: impl Into<String>) -> Self
Affected data set of the notification.
This field is required.sourcepub fn set_data_set_id(self, input: Option<String>) -> Self
pub fn set_data_set_id(self, input: Option<String>) -> Self
Affected data set of the notification.
sourcepub fn get_data_set_id(&self) -> &Option<String>
pub fn get_data_set_id(&self) -> &Option<String>
Affected data set of the notification.
sourcepub fn details(self, input: NotificationDetails) -> Self
pub fn details(self, input: NotificationDetails) -> Self
Extra details specific to this notification type.
sourcepub fn set_details(self, input: Option<NotificationDetails>) -> Self
pub fn set_details(self, input: Option<NotificationDetails>) -> Self
Extra details specific to this notification type.
sourcepub fn get_details(&self) -> &Option<NotificationDetails>
pub fn get_details(&self) -> &Option<NotificationDetails>
Extra details specific to this notification type.
sourcepub fn type(self, input: NotificationType) -> Self
pub fn type(self, input: NotificationType) -> Self
The type of the notification. Describing the kind of event the notification is alerting you to.
This field is required.sourcepub fn set_type(self, input: Option<NotificationType>) -> Self
pub fn set_type(self, input: Option<NotificationType>) -> Self
The type of the notification. Describing the kind of event the notification is alerting you to.
sourcepub fn get_type(&self) -> &Option<NotificationType>
pub fn get_type(&self) -> &Option<NotificationType>
The type of the notification. Describing the kind of event the notification is alerting you to.
sourcepub fn build(self) -> Result<SendDataSetNotificationInput, BuildError>
pub fn build(self) -> Result<SendDataSetNotificationInput, BuildError>
Consumes the builder and constructs a SendDataSetNotificationInput.
source§impl SendDataSetNotificationInputBuilder
impl SendDataSetNotificationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SendDataSetNotificationOutput, SdkError<SendDataSetNotificationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SendDataSetNotificationOutput, SdkError<SendDataSetNotificationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SendDataSetNotificationInputBuilder
impl Clone for SendDataSetNotificationInputBuilder
source§fn clone(&self) -> SendDataSetNotificationInputBuilder
fn clone(&self) -> SendDataSetNotificationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SendDataSetNotificationInputBuilder
impl Default for SendDataSetNotificationInputBuilder
source§fn default() -> SendDataSetNotificationInputBuilder
fn default() -> SendDataSetNotificationInputBuilder
source§impl PartialEq for SendDataSetNotificationInputBuilder
impl PartialEq for SendDataSetNotificationInputBuilder
source§fn eq(&self, other: &SendDataSetNotificationInputBuilder) -> bool
fn eq(&self, other: &SendDataSetNotificationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.