Struct aws_sdk_glue::input::create_database_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreateDatabaseInput.
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 to create the database. 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 to create the database. If none is provided, the Amazon Web Services account ID is used by default.
sourcepub fn database_input(self, input: DatabaseInput) -> Self
pub fn database_input(self, input: DatabaseInput) -> Self
The metadata for the database.
sourcepub fn set_database_input(self, input: Option<DatabaseInput>) -> Self
pub fn set_database_input(self, input: Option<DatabaseInput>) -> Self
The metadata for the database.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags you assign to the database.
The tags you assign to the database.
sourcepub fn build(self) -> Result<CreateDatabaseInput, BuildError>
pub fn build(self) -> Result<CreateDatabaseInput, BuildError>
Consumes the builder and constructs a CreateDatabaseInput.