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 ==.impl StructuralPartialEq for ColumnMetadataBuilder
Auto Trait Implementations§
impl Freeze for ColumnMetadataBuilder
impl RefUnwindSafe for ColumnMetadataBuilder
impl Send for ColumnMetadataBuilder
impl Sync for ColumnMetadataBuilder
impl Unpin for ColumnMetadataBuilder
impl UnwindSafe for ColumnMetadataBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more