Struct aws_sdk_iot::types::builders::DynamoDbActionBuilder
source · #[non_exhaustive]pub struct DynamoDbActionBuilder { /* private fields */ }
Expand description
A builder for DynamoDbAction
.
Implementations§
source§impl DynamoDbActionBuilder
impl DynamoDbActionBuilder
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 get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
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 get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
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 get_operation(&self) -> &Option<String>
pub fn get_operation(&self) -> &Option<String>
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 get_hash_key_field(&self) -> &Option<String>
pub fn get_hash_key_field(&self) -> &Option<String>
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 get_hash_key_value(&self) -> &Option<String>
pub fn get_hash_key_value(&self) -> &Option<String>
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 get_hash_key_type(&self) -> &Option<DynamoKeyType>
pub fn get_hash_key_type(&self) -> &Option<DynamoKeyType>
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 get_range_key_field(&self) -> &Option<String>
pub fn get_range_key_field(&self) -> &Option<String>
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 get_range_key_value(&self) -> &Option<String>
pub fn get_range_key_value(&self) -> &Option<String>
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 get_range_key_type(&self) -> &Option<DynamoKeyType>
pub fn get_range_key_type(&self) -> &Option<DynamoKeyType>
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 get_payload_field(&self) -> &Option<String>
pub fn get_payload_field(&self) -> &Option<String>
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§
source§impl Clone for DynamoDbActionBuilder
impl Clone for DynamoDbActionBuilder
source§fn clone(&self) -> DynamoDbActionBuilder
fn clone(&self) -> DynamoDbActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DynamoDbActionBuilder
impl Debug for DynamoDbActionBuilder
source§impl Default for DynamoDbActionBuilder
impl Default for DynamoDbActionBuilder
source§fn default() -> DynamoDbActionBuilder
fn default() -> DynamoDbActionBuilder
source§impl PartialEq for DynamoDbActionBuilder
impl PartialEq for DynamoDbActionBuilder
source§fn eq(&self, other: &DynamoDbActionBuilder) -> bool
fn eq(&self, other: &DynamoDbActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.