Struct aws_sdk_athena::input::get_database_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetDatabaseInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn catalog_name(self, input: impl Into<String>) -> Self
pub fn catalog_name(self, input: impl Into<String>) -> Self
The name of the data catalog that contains the database to return.
sourcepub fn set_catalog_name(self, input: Option<String>) -> Self
pub fn set_catalog_name(self, input: Option<String>) -> Self
The name of the data catalog that contains the database to return.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the database to return.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the database to return.
sourcepub fn build(self) -> Result<GetDatabaseInput, BuildError>
pub fn build(self) -> Result<GetDatabaseInput, BuildError>
Consumes the builder and constructs a GetDatabaseInput
.