Struct aws_sdk_redshiftdata::types::builders::ColumnMetadataBuilder
source · #[non_exhaustive]pub struct ColumnMetadataBuilder { /* private fields */ }Expand description
A builder for ColumnMetadata.
Implementations§
source§impl ColumnMetadataBuilder
impl ColumnMetadataBuilder
sourcepub fn is_case_sensitive(self, input: bool) -> Self
pub fn is_case_sensitive(self, input: bool) -> Self
A value that indicates whether the column is case-sensitive.
sourcepub fn set_is_case_sensitive(self, input: Option<bool>) -> Self
pub fn set_is_case_sensitive(self, input: Option<bool>) -> Self
A value that indicates whether the column is case-sensitive.
sourcepub fn get_is_case_sensitive(&self) -> &Option<bool>
pub fn get_is_case_sensitive(&self) -> &Option<bool>
A value that indicates whether the column is case-sensitive.
sourcepub fn is_currency(self, input: bool) -> Self
pub fn is_currency(self, input: bool) -> Self
A value that indicates whether the column contains currency values.
sourcepub fn set_is_currency(self, input: Option<bool>) -> Self
pub fn set_is_currency(self, input: Option<bool>) -> Self
A value that indicates whether the column contains currency values.
sourcepub fn get_is_currency(&self) -> &Option<bool>
pub fn get_is_currency(&self) -> &Option<bool>
A value that indicates whether the column contains currency values.
sourcepub fn is_signed(self, input: bool) -> Self
pub fn is_signed(self, input: bool) -> Self
A value that indicates whether an integer column is signed.
sourcepub fn set_is_signed(self, input: Option<bool>) -> Self
pub fn set_is_signed(self, input: Option<bool>) -> Self
A value that indicates whether an integer column is signed.
sourcepub fn get_is_signed(&self) -> &Option<bool>
pub fn get_is_signed(&self) -> &Option<bool>
A value that indicates whether an integer column is signed.
sourcepub fn nullable(self, input: i32) -> Self
pub fn nullable(self, input: i32) -> Self
A value that indicates whether the column is nullable.
sourcepub fn set_nullable(self, input: Option<i32>) -> Self
pub fn set_nullable(self, input: Option<i32>) -> Self
A value that indicates whether the column is nullable.
sourcepub fn get_nullable(&self) -> &Option<i32>
pub fn get_nullable(&self) -> &Option<i32>
A value that indicates whether the column is nullable.
sourcepub fn set_precision(self, input: Option<i32>) -> Self
pub fn set_precision(self, input: Option<i32>) -> Self
The precision value of a decimal number column.
sourcepub fn get_precision(&self) -> &Option<i32>
pub fn get_precision(&self) -> &Option<i32>
The precision value of a decimal number column.
sourcepub fn schema_name(self, input: impl Into<String>) -> Self
pub fn schema_name(self, input: impl Into<String>) -> Self
The name of the schema that contains the table that includes the column.
sourcepub fn set_schema_name(self, input: Option<String>) -> Self
pub fn set_schema_name(self, input: Option<String>) -> Self
The name of the schema that contains the table that includes the column.
sourcepub fn get_schema_name(&self) -> &Option<String>
pub fn get_schema_name(&self) -> &Option<String>
The name of the schema that contains the table that includes the column.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the table that includes the column.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the table that includes the column.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the table that includes the column.
sourcepub fn type_name(self, input: impl Into<String>) -> Self
pub fn type_name(self, input: impl Into<String>) -> Self
The database-specific data type of the column.
sourcepub fn set_type_name(self, input: Option<String>) -> Self
pub fn set_type_name(self, input: Option<String>) -> Self
The database-specific data type of the column.
sourcepub fn get_type_name(&self) -> &Option<String>
pub fn get_type_name(&self) -> &Option<String>
The database-specific data type of the column.
sourcepub fn set_length(self, input: Option<i32>) -> Self
pub fn set_length(self, input: Option<i32>) -> Self
The length of the column.
sourcepub fn get_length(&self) -> &Option<i32>
pub fn get_length(&self) -> &Option<i32>
The length of the column.
sourcepub fn column_default(self, input: impl Into<String>) -> Self
pub fn column_default(self, input: impl Into<String>) -> Self
The default value of the column.
sourcepub fn set_column_default(self, input: Option<String>) -> Self
pub fn set_column_default(self, input: Option<String>) -> Self
The default value of the column.
sourcepub fn get_column_default(&self) -> &Option<String>
pub fn get_column_default(&self) -> &Option<String>
The default value of the column.
sourcepub fn build(self) -> ColumnMetadata
pub fn build(self) -> ColumnMetadata
Consumes the builder and constructs a ColumnMetadata.
Trait Implementations§
source§impl Clone for ColumnMetadataBuilder
impl Clone for ColumnMetadataBuilder
source§fn clone(&self) -> ColumnMetadataBuilder
fn clone(&self) -> ColumnMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ColumnMetadataBuilder
impl Debug for ColumnMetadataBuilder
source§impl Default for ColumnMetadataBuilder
impl Default for ColumnMetadataBuilder
source§fn default() -> ColumnMetadataBuilder
fn default() -> ColumnMetadataBuilder
source§impl PartialEq for ColumnMetadataBuilder
impl PartialEq for ColumnMetadataBuilder
source§fn eq(&self, other: &ColumnMetadataBuilder) -> bool
fn eq(&self, other: &ColumnMetadataBuilder) -> bool
self and other values to be equal, and is used
by ==.