Struct aws_sdk_timestreamquery::operation::prepare_query::builders::PrepareQueryOutputBuilder
source · #[non_exhaustive]pub struct PrepareQueryOutputBuilder { /* private fields */ }
Expand description
A builder for PrepareQueryOutput
.
Implementations§
source§impl PrepareQueryOutputBuilder
impl PrepareQueryOutputBuilder
sourcepub fn query_string(self, input: impl Into<String>) -> Self
pub fn query_string(self, input: impl Into<String>) -> Self
The query string that you want prepare.
This field is required.sourcepub fn set_query_string(self, input: Option<String>) -> Self
pub fn set_query_string(self, input: Option<String>) -> Self
The query string that you want prepare.
sourcepub fn get_query_string(&self) -> &Option<String>
pub fn get_query_string(&self) -> &Option<String>
The query string that you want prepare.
sourcepub fn columns(self, input: SelectColumn) -> Self
pub fn columns(self, input: SelectColumn) -> Self
Appends an item to columns
.
To override the contents of this collection use set_columns
.
A list of SELECT clause columns of the submitted query string.
sourcepub fn set_columns(self, input: Option<Vec<SelectColumn>>) -> Self
pub fn set_columns(self, input: Option<Vec<SelectColumn>>) -> Self
A list of SELECT clause columns of the submitted query string.
sourcepub fn get_columns(&self) -> &Option<Vec<SelectColumn>>
pub fn get_columns(&self) -> &Option<Vec<SelectColumn>>
A list of SELECT clause columns of the submitted query string.
sourcepub fn parameters(self, input: ParameterMapping) -> Self
pub fn parameters(self, input: ParameterMapping) -> Self
Appends an item to parameters
.
To override the contents of this collection use set_parameters
.
A list of parameters used in the submitted query string.
sourcepub fn set_parameters(self, input: Option<Vec<ParameterMapping>>) -> Self
pub fn set_parameters(self, input: Option<Vec<ParameterMapping>>) -> Self
A list of parameters used in the submitted query string.
sourcepub fn get_parameters(&self) -> &Option<Vec<ParameterMapping>>
pub fn get_parameters(&self) -> &Option<Vec<ParameterMapping>>
A list of parameters used in the submitted query string.
sourcepub fn build(self) -> Result<PrepareQueryOutput, BuildError>
pub fn build(self) -> Result<PrepareQueryOutput, BuildError>
Consumes the builder and constructs a PrepareQueryOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PrepareQueryOutputBuilder
impl Clone for PrepareQueryOutputBuilder
source§fn clone(&self) -> PrepareQueryOutputBuilder
fn clone(&self) -> PrepareQueryOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PrepareQueryOutputBuilder
impl Debug for PrepareQueryOutputBuilder
source§impl Default for PrepareQueryOutputBuilder
impl Default for PrepareQueryOutputBuilder
source§fn default() -> PrepareQueryOutputBuilder
fn default() -> PrepareQueryOutputBuilder
source§impl PartialEq for PrepareQueryOutputBuilder
impl PartialEq for PrepareQueryOutputBuilder
source§fn eq(&self, other: &PrepareQueryOutputBuilder) -> bool
fn eq(&self, other: &PrepareQueryOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.