#[non_exhaustive]pub struct AwsSnsTopicSubscriptionBuilder { /* private fields */ }Expand description
A builder for AwsSnsTopicSubscription.
Implementations§
source§impl AwsSnsTopicSubscriptionBuilder
impl AwsSnsTopicSubscriptionBuilder
sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
The subscription's endpoint (format depends on the protocol).
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The subscription's endpoint (format depends on the protocol).
sourcepub fn get_endpoint(&self) -> &Option<String>
pub fn get_endpoint(&self) -> &Option<String>
The subscription's endpoint (format depends on the protocol).
sourcepub fn set_protocol(self, input: Option<String>) -> Self
pub fn set_protocol(self, input: Option<String>) -> Self
The subscription's protocol.
sourcepub fn get_protocol(&self) -> &Option<String>
pub fn get_protocol(&self) -> &Option<String>
The subscription's protocol.
sourcepub fn build(self) -> AwsSnsTopicSubscription
pub fn build(self) -> AwsSnsTopicSubscription
Consumes the builder and constructs a AwsSnsTopicSubscription.
Trait Implementations§
source§impl Clone for AwsSnsTopicSubscriptionBuilder
impl Clone for AwsSnsTopicSubscriptionBuilder
source§fn clone(&self) -> AwsSnsTopicSubscriptionBuilder
fn clone(&self) -> AwsSnsTopicSubscriptionBuilder
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 Default for AwsSnsTopicSubscriptionBuilder
impl Default for AwsSnsTopicSubscriptionBuilder
source§fn default() -> AwsSnsTopicSubscriptionBuilder
fn default() -> AwsSnsTopicSubscriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsSnsTopicSubscriptionBuilder
impl PartialEq for AwsSnsTopicSubscriptionBuilder
source§fn eq(&self, other: &AwsSnsTopicSubscriptionBuilder) -> bool
fn eq(&self, other: &AwsSnsTopicSubscriptionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsSnsTopicSubscriptionBuilder
Auto Trait Implementations§
impl Freeze for AwsSnsTopicSubscriptionBuilder
impl RefUnwindSafe for AwsSnsTopicSubscriptionBuilder
impl Send for AwsSnsTopicSubscriptionBuilder
impl Sync for AwsSnsTopicSubscriptionBuilder
impl Unpin for AwsSnsTopicSubscriptionBuilder
impl UnwindSafe for AwsSnsTopicSubscriptionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.