Struct aws_sdk_athena::model::prepared_statement::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PreparedStatement
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 build(self) -> PreparedStatement
pub fn build(self) -> PreparedStatement
Consumes the builder and constructs a PreparedStatement
.