pub struct Builder { /* private fields */ }
Expand description
A builder for AwsDynamoDbTableKeySchema
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn attribute_name(self, input: impl Into<String>) -> Self
pub fn attribute_name(self, input: impl Into<String>) -> Self
The name of the key schema attribute.
sourcepub fn set_attribute_name(self, input: Option<String>) -> Self
pub fn set_attribute_name(self, input: Option<String>) -> Self
The name of the key schema attribute.
sourcepub fn key_type(self, input: impl Into<String>) -> Self
pub fn key_type(self, input: impl Into<String>) -> Self
The type of key used for the key schema attribute. Valid values are HASH
or RANGE
.
sourcepub fn set_key_type(self, input: Option<String>) -> Self
pub fn set_key_type(self, input: Option<String>) -> Self
The type of key used for the key schema attribute. Valid values are HASH
or RANGE
.
sourcepub fn build(self) -> AwsDynamoDbTableKeySchema
pub fn build(self) -> AwsDynamoDbTableKeySchema
Consumes the builder and constructs a AwsDynamoDbTableKeySchema
.