Struct aws_sdk_glue::input::delete_database_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DeleteDatabaseInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn catalog_id(self, input: impl Into<String>) -> Self
pub fn catalog_id(self, input: impl Into<String>) -> Self
The ID of the Data Catalog in which the database resides. If none is provided, the Amazon Web Services account ID is used by default.
sourcepub fn set_catalog_id(self, input: Option<String>) -> Self
pub fn set_catalog_id(self, input: Option<String>) -> Self
The ID of the Data Catalog in which the database resides. If none is provided, the Amazon Web Services account ID is used by default.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the database to delete. For Hive compatibility, this must be all lowercase.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the database to delete. For Hive compatibility, this must be all lowercase.
sourcepub fn build(self) -> Result<DeleteDatabaseInput, BuildError>
pub fn build(self) -> Result<DeleteDatabaseInput, BuildError>
Consumes the builder and constructs a DeleteDatabaseInput.