Struct aws_sdk_athena::model::column_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ColumnInfo
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 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 build(self) -> ColumnInfo
pub fn build(self) -> ColumnInfo
Consumes the builder and constructs a ColumnInfo
.