Struct aws_sdk_sesv2::types::builders::TopicBuilder
source · #[non_exhaustive]pub struct TopicBuilder { /* private fields */ }Expand description
A builder for Topic.
Implementations§
source§impl TopicBuilder
impl TopicBuilder
sourcepub fn topic_name(self, input: impl Into<String>) -> Self
pub fn topic_name(self, input: impl Into<String>) -> Self
The name of the topic.
sourcepub fn set_topic_name(self, input: Option<String>) -> Self
pub fn set_topic_name(self, input: Option<String>) -> Self
The name of the topic.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The name of the topic the contact will see.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The name of the topic the contact will see.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of what the topic is about, which the contact will see.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of what the topic is about, which the contact will see.
sourcepub fn default_subscription_status(self, input: SubscriptionStatus) -> Self
pub fn default_subscription_status(self, input: SubscriptionStatus) -> Self
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
sourcepub fn set_default_subscription_status(
self,
input: Option<SubscriptionStatus>
) -> Self
pub fn set_default_subscription_status( self, input: Option<SubscriptionStatus> ) -> Self
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
Trait Implementations§
source§impl Clone for TopicBuilder
impl Clone for TopicBuilder
source§fn clone(&self) -> TopicBuilder
fn clone(&self) -> TopicBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TopicBuilder
impl Debug for TopicBuilder
source§impl Default for TopicBuilder
impl Default for TopicBuilder
source§fn default() -> TopicBuilder
fn default() -> TopicBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TopicBuilder> for TopicBuilder
impl PartialEq<TopicBuilder> for TopicBuilder
source§fn eq(&self, other: &TopicBuilder) -> bool
fn eq(&self, other: &TopicBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.