#[non_exhaustive]pub struct SnsTopicConfigurationBuilder { /* private fields */ }Expand description
A builder for SnsTopicConfiguration.
Implementations§
source§impl SnsTopicConfigurationBuilder
 
impl SnsTopicConfigurationBuilder
sourcepub fn topic_policy(self, input: impl Into<String>) -> Self
 
pub fn topic_policy(self, input: impl Into<String>) -> Self
The JSON policy text that defines who can access an Amazon SNS topic. For more information, see Example cases for Amazon SNS access control in the Amazon SNS Developer Guide.
sourcepub fn set_topic_policy(self, input: Option<String>) -> Self
 
pub fn set_topic_policy(self, input: Option<String>) -> Self
The JSON policy text that defines who can access an Amazon SNS topic. For more information, see Example cases for Amazon SNS access control in the Amazon SNS Developer Guide.
sourcepub fn get_topic_policy(&self) -> &Option<String>
 
pub fn get_topic_policy(&self) -> &Option<String>
The JSON policy text that defines who can access an Amazon SNS topic. For more information, see Example cases for Amazon SNS access control in the Amazon SNS Developer Guide.
sourcepub fn build(self) -> SnsTopicConfiguration
 
pub fn build(self) -> SnsTopicConfiguration
Consumes the builder and constructs a SnsTopicConfiguration.
Trait Implementations§
source§impl Clone for SnsTopicConfigurationBuilder
 
impl Clone for SnsTopicConfigurationBuilder
source§fn clone(&self) -> SnsTopicConfigurationBuilder
 
fn clone(&self) -> SnsTopicConfigurationBuilder
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 SnsTopicConfigurationBuilder
 
impl Debug for SnsTopicConfigurationBuilder
source§impl Default for SnsTopicConfigurationBuilder
 
impl Default for SnsTopicConfigurationBuilder
source§fn default() -> SnsTopicConfigurationBuilder
 
fn default() -> SnsTopicConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SnsTopicConfigurationBuilder
 
impl PartialEq for SnsTopicConfigurationBuilder
source§fn eq(&self, other: &SnsTopicConfigurationBuilder) -> bool
 
fn eq(&self, other: &SnsTopicConfigurationBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SnsTopicConfigurationBuilder
Auto Trait Implementations§
impl Freeze for SnsTopicConfigurationBuilder
impl RefUnwindSafe for SnsTopicConfigurationBuilder
impl Send for SnsTopicConfigurationBuilder
impl Sync for SnsTopicConfigurationBuilder
impl Unpin for SnsTopicConfigurationBuilder
impl UnwindSafe for SnsTopicConfigurationBuilder
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>
source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.