Struct aws_sdk_athena::model::query_execution_context::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for QueryExecutionContext
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn database(self, input: impl Into<String>) -> Self
pub fn database(self, input: impl Into<String>) -> Self
The name of the database used in the query execution. The database must exist in the catalog.
sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The name of the database used in the query execution. The database must exist in the catalog.
sourcepub fn catalog(self, input: impl Into<String>) -> Self
pub fn catalog(self, input: impl Into<String>) -> Self
The name of the data catalog used in the query execution.
sourcepub fn set_catalog(self, input: Option<String>) -> Self
pub fn set_catalog(self, input: Option<String>) -> Self
The name of the data catalog used in the query execution.
sourcepub fn build(self) -> QueryExecutionContext
pub fn build(self) -> QueryExecutionContext
Consumes the builder and constructs a QueryExecutionContext
.