#[non_exhaustive]pub struct CastColumnTypeOperationBuilder { /* private fields */ }
Expand description
A builder for CastColumnTypeOperation
.
Implementations§
source§impl CastColumnTypeOperationBuilder
impl CastColumnTypeOperationBuilder
sourcepub fn column_name(self, input: impl Into<String>) -> Self
pub fn column_name(self, input: impl Into<String>) -> Self
Column name.
This field is required.sourcepub fn set_column_name(self, input: Option<String>) -> Self
pub fn set_column_name(self, input: Option<String>) -> Self
Column name.
sourcepub fn get_column_name(&self) -> &Option<String>
pub fn get_column_name(&self) -> &Option<String>
Column name.
sourcepub fn new_column_type(self, input: ColumnDataType) -> Self
pub fn new_column_type(self, input: ColumnDataType) -> Self
New column data type.
This field is required.sourcepub fn set_new_column_type(self, input: Option<ColumnDataType>) -> Self
pub fn set_new_column_type(self, input: Option<ColumnDataType>) -> Self
New column data type.
sourcepub fn get_new_column_type(&self) -> &Option<ColumnDataType>
pub fn get_new_column_type(&self) -> &Option<ColumnDataType>
New column data type.
sourcepub fn sub_type(self, input: ColumnDataSubType) -> Self
pub fn sub_type(self, input: ColumnDataSubType) -> Self
The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.
sourcepub fn set_sub_type(self, input: Option<ColumnDataSubType>) -> Self
pub fn set_sub_type(self, input: Option<ColumnDataSubType>) -> Self
The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.
sourcepub fn get_sub_type(&self) -> &Option<ColumnDataSubType>
pub fn get_sub_type(&self) -> &Option<ColumnDataSubType>
The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset.
sourcepub fn format(self, input: impl Into<String>) -> Self
pub fn format(self, input: impl Into<String>) -> Self
When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.
sourcepub fn set_format(self, input: Option<String>) -> Self
pub fn set_format(self, input: Option<String>) -> Self
When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.
sourcepub fn get_format(&self) -> &Option<String>
pub fn get_format(&self) -> &Option<String>
When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.
sourcepub fn build(self) -> Result<CastColumnTypeOperation, BuildError>
pub fn build(self) -> Result<CastColumnTypeOperation, BuildError>
Consumes the builder and constructs a CastColumnTypeOperation
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CastColumnTypeOperationBuilder
impl Clone for CastColumnTypeOperationBuilder
source§fn clone(&self) -> CastColumnTypeOperationBuilder
fn clone(&self) -> CastColumnTypeOperationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CastColumnTypeOperationBuilder
impl Default for CastColumnTypeOperationBuilder
source§fn default() -> CastColumnTypeOperationBuilder
fn default() -> CastColumnTypeOperationBuilder
source§impl PartialEq for CastColumnTypeOperationBuilder
impl PartialEq for CastColumnTypeOperationBuilder
source§fn eq(&self, other: &CastColumnTypeOperationBuilder) -> bool
fn eq(&self, other: &CastColumnTypeOperationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CastColumnTypeOperationBuilder
Auto Trait Implementations§
impl Freeze for CastColumnTypeOperationBuilder
impl RefUnwindSafe for CastColumnTypeOperationBuilder
impl Send for CastColumnTypeOperationBuilder
impl Sync for CastColumnTypeOperationBuilder
impl Unpin for CastColumnTypeOperationBuilder
impl UnwindSafe for CastColumnTypeOperationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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