Struct aws_sdk_keyspaces::model::column_definition::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ColumnDefinition
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The data type of the column. For a list of available data types, see Data types in the Amazon Keyspaces Developer Guide.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The data type of the column. For a list of available data types, see Data types in the Amazon Keyspaces Developer Guide.
sourcepub fn build(self) -> ColumnDefinition
pub fn build(self) -> ColumnDefinition
Consumes the builder and constructs a ColumnDefinition
.