Struct aws_sdk_glue::input::update_database_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for UpdateDatabaseInput.
Implementations
sourceimpl 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 metadata 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 metadata 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 update in the catalog. For Hive compatibility, this is folded to 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 update in the catalog. For Hive compatibility, this is folded to lowercase.
sourcepub fn database_input(self, input: DatabaseInput) -> Self
pub fn database_input(self, input: DatabaseInput) -> Self
A DatabaseInput object specifying the new definition of the metadata database in the catalog.
sourcepub fn set_database_input(self, input: Option<DatabaseInput>) -> Self
pub fn set_database_input(self, input: Option<DatabaseInput>) -> Self
A DatabaseInput object specifying the new definition of the metadata database in the catalog.
sourcepub fn build(self) -> Result<UpdateDatabaseInput, BuildError>
pub fn build(self) -> Result<UpdateDatabaseInput, BuildError>
Consumes the builder and constructs a UpdateDatabaseInput.