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 ==
.impl StructuralPartialEq for PrepareQueryOutputBuilder
Auto Trait Implementations§
impl Freeze for PrepareQueryOutputBuilder
impl RefUnwindSafe for PrepareQueryOutputBuilder
impl Send for PrepareQueryOutputBuilder
impl Sync for PrepareQueryOutputBuilder
impl Unpin for PrepareQueryOutputBuilder
impl UnwindSafe for PrepareQueryOutputBuilder
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> 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