Struct aws_sdk_iot::model::dynamo_db_action::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for DynamoDbAction
Implementations
sourceimpl Builder
impl Builder
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the DynamoDB table.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the DynamoDB table.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role that grants access to the DynamoDB table.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role that grants access to the DynamoDB table.
sourcepub fn operation(self, input: impl Into<String>) -> Self
pub fn operation(self, input: impl Into<String>) -> Self
The type of operation to be performed. This follows the substitution template, so it can be ${operation}
, but the substitution must result in one of the following: INSERT
, UPDATE
, or DELETE
.
sourcepub fn set_operation(self, input: Option<String>) -> Self
pub fn set_operation(self, input: Option<String>) -> Self
The type of operation to be performed. This follows the substitution template, so it can be ${operation}
, but the substitution must result in one of the following: INSERT
, UPDATE
, or DELETE
.
sourcepub fn hash_key_field(self, input: impl Into<String>) -> Self
pub fn hash_key_field(self, input: impl Into<String>) -> Self
The hash key name.
sourcepub fn set_hash_key_field(self, input: Option<String>) -> Self
pub fn set_hash_key_field(self, input: Option<String>) -> Self
The hash key name.
sourcepub fn hash_key_value(self, input: impl Into<String>) -> Self
pub fn hash_key_value(self, input: impl Into<String>) -> Self
The hash key value.
sourcepub fn set_hash_key_value(self, input: Option<String>) -> Self
pub fn set_hash_key_value(self, input: Option<String>) -> Self
The hash key value.
sourcepub fn hash_key_type(self, input: DynamoKeyType) -> Self
pub fn hash_key_type(self, input: DynamoKeyType) -> Self
The hash key type. Valid values are "STRING" or "NUMBER"
sourcepub fn set_hash_key_type(self, input: Option<DynamoKeyType>) -> Self
pub fn set_hash_key_type(self, input: Option<DynamoKeyType>) -> Self
The hash key type. Valid values are "STRING" or "NUMBER"
sourcepub fn range_key_field(self, input: impl Into<String>) -> Self
pub fn range_key_field(self, input: impl Into<String>) -> Self
The range key name.
sourcepub fn set_range_key_field(self, input: Option<String>) -> Self
pub fn set_range_key_field(self, input: Option<String>) -> Self
The range key name.
sourcepub fn range_key_value(self, input: impl Into<String>) -> Self
pub fn range_key_value(self, input: impl Into<String>) -> Self
The range key value.
sourcepub fn set_range_key_value(self, input: Option<String>) -> Self
pub fn set_range_key_value(self, input: Option<String>) -> Self
The range key value.
sourcepub fn range_key_type(self, input: DynamoKeyType) -> Self
pub fn range_key_type(self, input: DynamoKeyType) -> Self
The range key type. Valid values are "STRING" or "NUMBER"
sourcepub fn set_range_key_type(self, input: Option<DynamoKeyType>) -> Self
pub fn set_range_key_type(self, input: Option<DynamoKeyType>) -> Self
The range key type. Valid values are "STRING" or "NUMBER"
sourcepub fn payload_field(self, input: impl Into<String>) -> Self
pub fn payload_field(self, input: impl Into<String>) -> Self
The action payload. This name can be customized.
sourcepub fn set_payload_field(self, input: Option<String>) -> Self
pub fn set_payload_field(self, input: Option<String>) -> Self
The action payload. This name can be customized.
sourcepub fn build(self) -> DynamoDbAction
pub fn build(self) -> DynamoDbAction
Consumes the builder and constructs a DynamoDbAction
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more