pub struct Builder { /* private fields */ }
Expand description
A builder for AwsDynamoDbTableAttributeDefinition
.
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 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 attribute.
sourcepub fn attribute_type(self, input: impl Into<String>) -> Self
pub fn attribute_type(self, input: impl Into<String>) -> Self
The type of the attribute.
sourcepub fn set_attribute_type(self, input: Option<String>) -> Self
pub fn set_attribute_type(self, input: Option<String>) -> Self
The type of the attribute.
sourcepub fn build(self) -> AwsDynamoDbTableAttributeDefinition
pub fn build(self) -> AwsDynamoDbTableAttributeDefinition
Consumes the builder and constructs a AwsDynamoDbTableAttributeDefinition
.