Struct aws_sdk_athena::types::builders::ColumnInfoBuilder
source · #[non_exhaustive]pub struct ColumnInfoBuilder { /* private fields */ }Expand description
A builder for ColumnInfo.
Implementations§
source§impl ColumnInfoBuilder
impl ColumnInfoBuilder
sourcepub fn catalog_name(self, input: impl Into<String>) -> Self
pub fn catalog_name(self, input: impl Into<String>) -> Self
The catalog to which the query results belong.
sourcepub fn set_catalog_name(self, input: Option<String>) -> Self
pub fn set_catalog_name(self, input: Option<String>) -> Self
The catalog to which the query results belong.
sourcepub fn get_catalog_name(&self) -> &Option<String>
pub fn get_catalog_name(&self) -> &Option<String>
The catalog to which the query results belong.
sourcepub fn schema_name(self, input: impl Into<String>) -> Self
pub fn schema_name(self, input: impl Into<String>) -> Self
The schema name (database name) to which the query results belong.
sourcepub fn set_schema_name(self, input: Option<String>) -> Self
pub fn set_schema_name(self, input: Option<String>) -> Self
The schema name (database name) to which the query results belong.
sourcepub fn get_schema_name(&self) -> &Option<String>
pub fn get_schema_name(&self) -> &Option<String>
The schema name (database name) to which the query results belong.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The table name for the query results.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The table name for the query results.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The table name for the query results.
sourcepub fn precision(self, input: i32) -> Self
pub fn precision(self, input: i32) -> Self
For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.
sourcepub fn set_precision(self, input: Option<i32>) -> Self
pub fn set_precision(self, input: Option<i32>) -> Self
For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.
sourcepub fn get_precision(&self) -> &Option<i32>
pub fn get_precision(&self) -> &Option<i32>
For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.
sourcepub fn scale(self, input: i32) -> Self
pub fn scale(self, input: i32) -> Self
For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.
sourcepub fn set_scale(self, input: Option<i32>) -> Self
pub fn set_scale(self, input: Option<i32>) -> Self
For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.
sourcepub fn get_scale(&self) -> &Option<i32>
pub fn get_scale(&self) -> &Option<i32>
For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.
sourcepub fn nullable(self, input: ColumnNullable) -> Self
pub fn nullable(self, input: ColumnNullable) -> Self
Indicates the column's nullable status.
sourcepub fn set_nullable(self, input: Option<ColumnNullable>) -> Self
pub fn set_nullable(self, input: Option<ColumnNullable>) -> Self
Indicates the column's nullable status.
sourcepub fn get_nullable(&self) -> &Option<ColumnNullable>
pub fn get_nullable(&self) -> &Option<ColumnNullable>
Indicates the column's nullable status.
sourcepub fn case_sensitive(self, input: bool) -> Self
pub fn case_sensitive(self, input: bool) -> Self
Indicates whether values in the column are case-sensitive.
sourcepub fn set_case_sensitive(self, input: Option<bool>) -> Self
pub fn set_case_sensitive(self, input: Option<bool>) -> Self
Indicates whether values in the column are case-sensitive.
sourcepub fn get_case_sensitive(&self) -> &Option<bool>
pub fn get_case_sensitive(&self) -> &Option<bool>
Indicates whether values in the column are case-sensitive.
sourcepub fn build(self) -> ColumnInfo
pub fn build(self) -> ColumnInfo
Consumes the builder and constructs a ColumnInfo.
Trait Implementations§
source§impl Clone for ColumnInfoBuilder
impl Clone for ColumnInfoBuilder
source§fn clone(&self) -> ColumnInfoBuilder
fn clone(&self) -> ColumnInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ColumnInfoBuilder
impl Debug for ColumnInfoBuilder
source§impl Default for ColumnInfoBuilder
impl Default for ColumnInfoBuilder
source§fn default() -> ColumnInfoBuilder
fn default() -> ColumnInfoBuilder
source§impl PartialEq<ColumnInfoBuilder> for ColumnInfoBuilder
impl PartialEq<ColumnInfoBuilder> for ColumnInfoBuilder
source§fn eq(&self, other: &ColumnInfoBuilder) -> bool
fn eq(&self, other: &ColumnInfoBuilder) -> bool
self and other values to be equal, and is used
by ==.