Struct aws_sdk_iot::types::builders::PutItemInputBuilder
source · #[non_exhaustive]pub struct PutItemInputBuilder { /* private fields */ }
Expand description
A builder for PutItemInput
.
Implementations§
source§impl PutItemInputBuilder
impl PutItemInputBuilder
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The table where the message data will be written.
This field is required.sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The table where the message data will be written.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The table where the message data will be written.
sourcepub fn build(self) -> Result<PutItemInput, BuildError>
pub fn build(self) -> Result<PutItemInput, BuildError>
Consumes the builder and constructs a PutItemInput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PutItemInputBuilder
impl Clone for PutItemInputBuilder
source§fn clone(&self) -> PutItemInputBuilder
fn clone(&self) -> PutItemInputBuilder
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 PutItemInputBuilder
impl Debug for PutItemInputBuilder
source§impl Default for PutItemInputBuilder
impl Default for PutItemInputBuilder
source§fn default() -> PutItemInputBuilder
fn default() -> PutItemInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutItemInputBuilder
impl PartialEq for PutItemInputBuilder
source§fn eq(&self, other: &PutItemInputBuilder) -> bool
fn eq(&self, other: &PutItemInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutItemInputBuilder
Auto Trait Implementations§
impl Freeze for PutItemInputBuilder
impl RefUnwindSafe for PutItemInputBuilder
impl Send for PutItemInputBuilder
impl Sync for PutItemInputBuilder
impl Unpin for PutItemInputBuilder
impl UnwindSafe for PutItemInputBuilder
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.