Struct aws_sdk_quicksight::types::builders::CustomSqlBuilder
source · #[non_exhaustive]pub struct CustomSqlBuilder { /* private fields */ }
Expand description
A builder for CustomSql
.
Implementations§
source§impl CustomSqlBuilder
impl CustomSqlBuilder
sourcepub fn data_source_arn(self, input: impl Into<String>) -> Self
pub fn data_source_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the data source.
This field is required.sourcepub fn set_data_source_arn(self, input: Option<String>) -> Self
pub fn set_data_source_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the data source.
sourcepub fn get_data_source_arn(&self) -> &Option<String>
pub fn get_data_source_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the data source.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A display name for the SQL query result.
This field is required.sourcepub fn sql_query(self, input: impl Into<String>) -> Self
pub fn sql_query(self, input: impl Into<String>) -> Self
The SQL query.
This field is required.sourcepub fn set_sql_query(self, input: Option<String>) -> Self
pub fn set_sql_query(self, input: Option<String>) -> Self
The SQL query.
sourcepub fn get_sql_query(&self) -> &Option<String>
pub fn get_sql_query(&self) -> &Option<String>
The SQL query.
sourcepub fn columns(self, input: InputColumn) -> Self
pub fn columns(self, input: InputColumn) -> Self
Appends an item to columns
.
To override the contents of this collection use set_columns
.
The column schema from the SQL query result set.
sourcepub fn set_columns(self, input: Option<Vec<InputColumn>>) -> Self
pub fn set_columns(self, input: Option<Vec<InputColumn>>) -> Self
The column schema from the SQL query result set.
sourcepub fn get_columns(&self) -> &Option<Vec<InputColumn>>
pub fn get_columns(&self) -> &Option<Vec<InputColumn>>
The column schema from the SQL query result set.
Trait Implementations§
source§impl Clone for CustomSqlBuilder
impl Clone for CustomSqlBuilder
source§fn clone(&self) -> CustomSqlBuilder
fn clone(&self) -> CustomSqlBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CustomSqlBuilder
impl Debug for CustomSqlBuilder
source§impl Default for CustomSqlBuilder
impl Default for CustomSqlBuilder
source§fn default() -> CustomSqlBuilder
fn default() -> CustomSqlBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CustomSqlBuilder
impl PartialEq for CustomSqlBuilder
source§fn eq(&self, other: &CustomSqlBuilder) -> bool
fn eq(&self, other: &CustomSqlBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomSqlBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CustomSqlBuilder
impl Send for CustomSqlBuilder
impl Sync for CustomSqlBuilder
impl Unpin for CustomSqlBuilder
impl UnwindSafe for CustomSqlBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.