#[non_exhaustive]pub struct CreateDatabaseInputBuilder { /* private fields */ }Expand description
A builder for CreateDatabaseInput.
Implementations§
source§impl CreateDatabaseInputBuilder
impl CreateDatabaseInputBuilder
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 get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
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.
This field is required.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.
sourcepub fn get_database_input(&self) -> &Option<DatabaseInput>
pub fn get_database_input(&self) -> &Option<DatabaseInput>
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.
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.
source§impl CreateDatabaseInputBuilder
impl CreateDatabaseInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDatabaseOutput, SdkError<CreateDatabaseError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDatabaseOutput, SdkError<CreateDatabaseError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDatabaseInputBuilder
impl Clone for CreateDatabaseInputBuilder
source§fn clone(&self) -> CreateDatabaseInputBuilder
fn clone(&self) -> CreateDatabaseInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDatabaseInputBuilder
impl Debug for CreateDatabaseInputBuilder
source§impl Default for CreateDatabaseInputBuilder
impl Default for CreateDatabaseInputBuilder
source§fn default() -> CreateDatabaseInputBuilder
fn default() -> CreateDatabaseInputBuilder
source§impl PartialEq for CreateDatabaseInputBuilder
impl PartialEq for CreateDatabaseInputBuilder
source§fn eq(&self, other: &CreateDatabaseInputBuilder) -> bool
fn eq(&self, other: &CreateDatabaseInputBuilder) -> bool
self and other values to be equal, and is used
by ==.