Struct aws_sdk_athena::input::get_prepared_statement_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetPreparedStatementInput
.
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 to retrieve.
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 to retrieve.
sourcepub fn work_group(self, input: impl Into<String>) -> Self
pub fn work_group(self, input: impl Into<String>) -> Self
The workgroup to which the statement to be retrieved belongs.
sourcepub fn set_work_group(self, input: Option<String>) -> Self
pub fn set_work_group(self, input: Option<String>) -> Self
The workgroup to which the statement to be retrieved belongs.
sourcepub fn build(self) -> Result<GetPreparedStatementInput, BuildError>
pub fn build(self) -> Result<GetPreparedStatementInput, BuildError>
Consumes the builder and constructs a GetPreparedStatementInput
.