Struct aws_sdk_ses::operation::set_identity_notification_topic::builders::SetIdentityNotificationTopicInputBuilder
source · #[non_exhaustive]pub struct SetIdentityNotificationTopicInputBuilder { /* private fields */ }Expand description
A builder for SetIdentityNotificationTopicInput.
Implementations§
source§impl SetIdentityNotificationTopicInputBuilder
impl SetIdentityNotificationTopicInputBuilder
sourcepub fn identity(self, input: impl Into<String>) -> Self
pub fn identity(self, input: impl Into<String>) -> Self
The identity (email address or domain) for the Amazon SNS topic.
You can only specify a verified identity for this parameter.
You can specify an identity by using its name or by using its Amazon Resource Name (ARN). The following examples are all valid identities: sender@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.
sourcepub fn set_identity(self, input: Option<String>) -> Self
pub fn set_identity(self, input: Option<String>) -> Self
The identity (email address or domain) for the Amazon SNS topic.
You can only specify a verified identity for this parameter.
You can specify an identity by using its name or by using its Amazon Resource Name (ARN). The following examples are all valid identities: sender@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.
sourcepub fn get_identity(&self) -> &Option<String>
pub fn get_identity(&self) -> &Option<String>
The identity (email address or domain) for the Amazon SNS topic.
You can only specify a verified identity for this parameter.
You can specify an identity by using its name or by using its Amazon Resource Name (ARN). The following examples are all valid identities: sender@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.
sourcepub fn notification_type(self, input: NotificationType) -> Self
pub fn notification_type(self, input: NotificationType) -> Self
The type of notifications that are published to the specified Amazon SNS topic.
This field is required.sourcepub fn set_notification_type(self, input: Option<NotificationType>) -> Self
pub fn set_notification_type(self, input: Option<NotificationType>) -> Self
The type of notifications that are published to the specified Amazon SNS topic.
sourcepub fn get_notification_type(&self) -> &Option<NotificationType>
pub fn get_notification_type(&self) -> &Option<NotificationType>
The type of notifications that are published to the specified Amazon SNS topic.
sourcepub fn sns_topic(self, input: impl Into<String>) -> Self
pub fn sns_topic(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.
sourcepub fn set_sns_topic(self, input: Option<String>) -> Self
pub fn set_sns_topic(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.
sourcepub fn get_sns_topic(&self) -> &Option<String>
pub fn get_sns_topic(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.
sourcepub fn build(self) -> Result<SetIdentityNotificationTopicInput, BuildError>
pub fn build(self) -> Result<SetIdentityNotificationTopicInput, BuildError>
Consumes the builder and constructs a SetIdentityNotificationTopicInput.
source§impl SetIdentityNotificationTopicInputBuilder
impl SetIdentityNotificationTopicInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SetIdentityNotificationTopicOutput, SdkError<SetIdentityNotificationTopicError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SetIdentityNotificationTopicOutput, SdkError<SetIdentityNotificationTopicError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SetIdentityNotificationTopicInputBuilder
impl Clone for SetIdentityNotificationTopicInputBuilder
source§fn clone(&self) -> SetIdentityNotificationTopicInputBuilder
fn clone(&self) -> SetIdentityNotificationTopicInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SetIdentityNotificationTopicInputBuilder
impl Default for SetIdentityNotificationTopicInputBuilder
source§fn default() -> SetIdentityNotificationTopicInputBuilder
fn default() -> SetIdentityNotificationTopicInputBuilder
source§impl PartialEq for SetIdentityNotificationTopicInputBuilder
impl PartialEq for SetIdentityNotificationTopicInputBuilder
source§fn eq(&self, other: &SetIdentityNotificationTopicInputBuilder) -> bool
fn eq(&self, other: &SetIdentityNotificationTopicInputBuilder) -> bool
self and other values to be equal, and is used
by ==.