Struct aws_sdk_timestreamquery::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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
sourcepub fn type(self, input: impl Into<Box<Type>>) -> Self
pub fn type(self, input: impl Into<Box<Type>>) -> Self
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
This field is required.sourcepub fn set_type(self, input: Option<Box<Type>>) -> Self
pub fn set_type(self, input: Option<Box<Type>>) -> Self
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
sourcepub fn get_type(&self) -> &Option<Box<Type>>
pub fn get_type(&self) -> &Option<Box<Type>>
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
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 for ColumnInfoBuilder
impl PartialEq 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 ==
.