Struct aws_sdk_iotevents::types::builders::SqsActionBuilder
source · #[non_exhaustive]pub struct SqsActionBuilder { /* private fields */ }
Expand description
A builder for SqsAction
.
Implementations§
source§impl SqsActionBuilder
impl SqsActionBuilder
sourcepub fn queue_url(self, input: impl Into<String>) -> Self
pub fn queue_url(self, input: impl Into<String>) -> Self
The URL of the SQS queue where the data is written.
This field is required.sourcepub fn set_queue_url(self, input: Option<String>) -> Self
pub fn set_queue_url(self, input: Option<String>) -> Self
The URL of the SQS queue where the data is written.
sourcepub fn get_queue_url(&self) -> &Option<String>
pub fn get_queue_url(&self) -> &Option<String>
The URL of the SQS queue where the data is written.
sourcepub fn use_base64(self, input: bool) -> Self
pub fn use_base64(self, input: bool) -> Self
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
sourcepub fn set_use_base64(self, input: Option<bool>) -> Self
pub fn set_use_base64(self, input: Option<bool>) -> Self
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
sourcepub fn get_use_base64(&self) -> &Option<bool>
pub fn get_use_base64(&self) -> &Option<bool>
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
sourcepub fn payload(self, input: Payload) -> Self
pub fn payload(self, input: Payload) -> Self
You can configure the action payload when you send a message to an Amazon SQS queue.
sourcepub fn set_payload(self, input: Option<Payload>) -> Self
pub fn set_payload(self, input: Option<Payload>) -> Self
You can configure the action payload when you send a message to an Amazon SQS queue.
sourcepub fn get_payload(&self) -> &Option<Payload>
pub fn get_payload(&self) -> &Option<Payload>
You can configure the action payload when you send a message to an Amazon SQS queue.
Trait Implementations§
source§impl Clone for SqsActionBuilder
impl Clone for SqsActionBuilder
source§fn clone(&self) -> SqsActionBuilder
fn clone(&self) -> SqsActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SqsActionBuilder
impl Debug for SqsActionBuilder
source§impl Default for SqsActionBuilder
impl Default for SqsActionBuilder
source§fn default() -> SqsActionBuilder
fn default() -> SqsActionBuilder
source§impl PartialEq for SqsActionBuilder
impl PartialEq for SqsActionBuilder
source§fn eq(&self, other: &SqsActionBuilder) -> bool
fn eq(&self, other: &SqsActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SqsActionBuilder
Auto Trait Implementations§
impl Freeze for SqsActionBuilder
impl RefUnwindSafe for SqsActionBuilder
impl Send for SqsActionBuilder
impl Sync for SqsActionBuilder
impl Unpin for SqsActionBuilder
impl UnwindSafe for SqsActionBuilder
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
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>
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>
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 more