Struct aws_sdk_athena::types::builders::PreparedStatementBuilder
source · #[non_exhaustive]pub struct PreparedStatementBuilder { /* private fields */ }Expand description
A builder for PreparedStatement.
Implementations§
source§impl PreparedStatementBuilder
impl PreparedStatementBuilder
sourcepub fn statement_name(self, input: impl Into<String>) -> Self
pub fn statement_name(self, input: impl Into<String>) -> Self
The name of the prepared statement.
sourcepub fn set_statement_name(self, input: Option<String>) -> Self
pub fn set_statement_name(self, input: Option<String>) -> Self
The name of the prepared statement.
sourcepub fn get_statement_name(&self) -> &Option<String>
pub fn get_statement_name(&self) -> &Option<String>
The name of the prepared statement.
sourcepub fn query_statement(self, input: impl Into<String>) -> Self
pub fn query_statement(self, input: impl Into<String>) -> Self
The query string for the prepared statement.
sourcepub fn set_query_statement(self, input: Option<String>) -> Self
pub fn set_query_statement(self, input: Option<String>) -> Self
The query string for the prepared statement.
sourcepub fn get_query_statement(&self) -> &Option<String>
pub fn get_query_statement(&self) -> &Option<String>
The query string for the prepared statement.
sourcepub fn work_group_name(self, input: impl Into<String>) -> Self
pub fn work_group_name(self, input: impl Into<String>) -> Self
The name of the workgroup to which the prepared statement belongs.
sourcepub fn set_work_group_name(self, input: Option<String>) -> Self
pub fn set_work_group_name(self, input: Option<String>) -> Self
The name of the workgroup to which the prepared statement belongs.
sourcepub fn get_work_group_name(&self) -> &Option<String>
pub fn get_work_group_name(&self) -> &Option<String>
The name of the workgroup to which the prepared statement belongs.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the prepared statement.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the prepared statement.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the prepared statement.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The last modified time of the prepared statement.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The last modified time of the prepared statement.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The last modified time of the prepared statement.
sourcepub fn build(self) -> PreparedStatement
pub fn build(self) -> PreparedStatement
Consumes the builder and constructs a PreparedStatement.
Trait Implementations§
source§impl Clone for PreparedStatementBuilder
impl Clone for PreparedStatementBuilder
source§fn clone(&self) -> PreparedStatementBuilder
fn clone(&self) -> PreparedStatementBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PreparedStatementBuilder
impl Debug for PreparedStatementBuilder
source§impl Default for PreparedStatementBuilder
impl Default for PreparedStatementBuilder
source§fn default() -> PreparedStatementBuilder
fn default() -> PreparedStatementBuilder
source§impl PartialEq<PreparedStatementBuilder> for PreparedStatementBuilder
impl PartialEq<PreparedStatementBuilder> for PreparedStatementBuilder
source§fn eq(&self, other: &PreparedStatementBuilder) -> bool
fn eq(&self, other: &PreparedStatementBuilder) -> bool
self and other values to be equal, and is used
by ==.