#[non_exhaustive]pub struct PublishBatchInputBuilder { /* private fields */ }Expand description
A builder for PublishBatchInput.
Implementations§
source§impl PublishBatchInputBuilder
impl PublishBatchInputBuilder
sourcepub fn topic_arn(self, input: impl Into<String>) -> Self
pub fn topic_arn(self, input: impl Into<String>) -> Self
The Amazon resource name (ARN) of the topic you want to batch publish to.
This field is required.sourcepub fn set_topic_arn(self, input: Option<String>) -> Self
pub fn set_topic_arn(self, input: Option<String>) -> Self
The Amazon resource name (ARN) of the topic you want to batch publish to.
sourcepub fn get_topic_arn(&self) -> &Option<String>
pub fn get_topic_arn(&self) -> &Option<String>
The Amazon resource name (ARN) of the topic you want to batch publish to.
sourcepub fn publish_batch_request_entries(
self,
input: PublishBatchRequestEntry
) -> Self
pub fn publish_batch_request_entries( self, input: PublishBatchRequestEntry ) -> Self
Appends an item to publish_batch_request_entries.
To override the contents of this collection use set_publish_batch_request_entries.
A list of PublishBatch request entries to be sent to the SNS topic.
sourcepub fn set_publish_batch_request_entries(
self,
input: Option<Vec<PublishBatchRequestEntry>>
) -> Self
pub fn set_publish_batch_request_entries( self, input: Option<Vec<PublishBatchRequestEntry>> ) -> Self
A list of PublishBatch request entries to be sent to the SNS topic.
sourcepub fn get_publish_batch_request_entries(
&self
) -> &Option<Vec<PublishBatchRequestEntry>>
pub fn get_publish_batch_request_entries( &self ) -> &Option<Vec<PublishBatchRequestEntry>>
A list of PublishBatch request entries to be sent to the SNS topic.
sourcepub fn build(self) -> Result<PublishBatchInput, BuildError>
pub fn build(self) -> Result<PublishBatchInput, BuildError>
Consumes the builder and constructs a PublishBatchInput.
source§impl PublishBatchInputBuilder
impl PublishBatchInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PublishBatchOutput, SdkError<PublishBatchError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PublishBatchOutput, SdkError<PublishBatchError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PublishBatchInputBuilder
impl Clone for PublishBatchInputBuilder
source§fn clone(&self) -> PublishBatchInputBuilder
fn clone(&self) -> PublishBatchInputBuilder
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 PublishBatchInputBuilder
impl Debug for PublishBatchInputBuilder
source§impl Default for PublishBatchInputBuilder
impl Default for PublishBatchInputBuilder
source§fn default() -> PublishBatchInputBuilder
fn default() -> PublishBatchInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PublishBatchInputBuilder
impl PartialEq for PublishBatchInputBuilder
source§fn eq(&self, other: &PublishBatchInputBuilder) -> bool
fn eq(&self, other: &PublishBatchInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PublishBatchInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PublishBatchInputBuilder
impl Send for PublishBatchInputBuilder
impl Sync for PublishBatchInputBuilder
impl Unpin for PublishBatchInputBuilder
impl UnwindSafe for PublishBatchInputBuilder
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.