Struct aws_sdk_redshiftdata::operation::get_statement_result::builders::GetStatementResultOutputBuilder
source · #[non_exhaustive]pub struct GetStatementResultOutputBuilder { /* private fields */ }Expand description
A builder for GetStatementResultOutput.
Implementations§
source§impl GetStatementResultOutputBuilder
impl GetStatementResultOutputBuilder
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 get_column_metadata(&self) -> &Option<Vec<ColumnMetadata>>
pub fn get_column_metadata(&self) -> &Option<Vec<ColumnMetadata>>
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 get_total_num_rows(&self) -> &Option<i64>
pub fn get_total_num_rows(&self) -> &Option<i64>
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
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) -> Result<GetStatementResultOutput, BuildError>
pub fn build(self) -> Result<GetStatementResultOutput, BuildError>
Consumes the builder and constructs a GetStatementResultOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetStatementResultOutputBuilder
impl Clone for GetStatementResultOutputBuilder
source§fn clone(&self) -> GetStatementResultOutputBuilder
fn clone(&self) -> GetStatementResultOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetStatementResultOutputBuilder
impl Default for GetStatementResultOutputBuilder
source§fn default() -> GetStatementResultOutputBuilder
fn default() -> GetStatementResultOutputBuilder
source§impl PartialEq for GetStatementResultOutputBuilder
impl PartialEq for GetStatementResultOutputBuilder
source§fn eq(&self, other: &GetStatementResultOutputBuilder) -> bool
fn eq(&self, other: &GetStatementResultOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.