#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for GetStatementResultOutput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn records(self, input: Vec<Field>) -> Self
pub fn records(self, input: Vec<Field>) -> Self
Appends an item to records.
To override the contents of this collection use set_records.
The results of the SQL statement.
sourcepub fn set_records(self, input: Option<Vec<Vec<Field>>>) -> Self
pub fn set_records(self, input: Option<Vec<Vec<Field>>>) -> Self
The results of the SQL statement.
sourcepub fn column_metadata(self, input: ColumnMetadata) -> Self
pub fn column_metadata(self, input: ColumnMetadata) -> Self
Appends an item to column_metadata.
To override the contents of this collection use set_column_metadata.
The properties (metadata) of a column.
sourcepub fn set_column_metadata(self, input: Option<Vec<ColumnMetadata>>) -> Self
pub fn set_column_metadata(self, input: Option<Vec<ColumnMetadata>>) -> Self
The properties (metadata) of a column.
sourcepub fn total_num_rows(self, input: i64) -> Self
pub fn total_num_rows(self, input: i64) -> Self
The total number of rows in the result set returned from a query. You can use this number to estimate the number of calls to the GetStatementResult operation needed to page through the results.
sourcepub fn set_total_num_rows(self, input: Option<i64>) -> Self
pub fn set_total_num_rows(self, input: Option<i64>) -> Self
The total number of rows in the result set returned from a query. You can use this number to estimate the number of calls to the GetStatementResult operation needed to page through the results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
sourcepub fn build(self) -> GetStatementResultOutput
pub fn build(self) -> GetStatementResultOutput
Consumes the builder and constructs a GetStatementResultOutput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more