#[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 ==
.impl StructuralPartialEq for CreateDatabaseInputBuilder
Auto Trait Implementations§
impl Freeze for CreateDatabaseInputBuilder
impl RefUnwindSafe for CreateDatabaseInputBuilder
impl Send for CreateDatabaseInputBuilder
impl Sync for CreateDatabaseInputBuilder
impl Unpin for CreateDatabaseInputBuilder
impl UnwindSafe for CreateDatabaseInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more