Struct aws_sdk_glue::types::builders::DatabaseIdentifierBuilder
source · #[non_exhaustive]pub struct DatabaseIdentifierBuilder { /* private fields */ }Expand description
A builder for DatabaseIdentifier.
Implementations§
source§impl DatabaseIdentifierBuilder
impl DatabaseIdentifierBuilder
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.
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.
sourcepub fn get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
The ID of the Data Catalog in which the database resides.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the catalog database.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the catalog database.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the catalog database.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
Region of the target database.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
Region of the target database.
sourcepub fn build(self) -> DatabaseIdentifier
pub fn build(self) -> DatabaseIdentifier
Consumes the builder and constructs a DatabaseIdentifier.
Trait Implementations§
source§impl Clone for DatabaseIdentifierBuilder
impl Clone for DatabaseIdentifierBuilder
source§fn clone(&self) -> DatabaseIdentifierBuilder
fn clone(&self) -> DatabaseIdentifierBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DatabaseIdentifierBuilder
impl Debug for DatabaseIdentifierBuilder
source§impl Default for DatabaseIdentifierBuilder
impl Default for DatabaseIdentifierBuilder
source§fn default() -> DatabaseIdentifierBuilder
fn default() -> DatabaseIdentifierBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DatabaseIdentifierBuilder
impl PartialEq for DatabaseIdentifierBuilder
source§fn eq(&self, other: &DatabaseIdentifierBuilder) -> bool
fn eq(&self, other: &DatabaseIdentifierBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatabaseIdentifierBuilder
Auto Trait Implementations§
impl Freeze for DatabaseIdentifierBuilder
impl RefUnwindSafe for DatabaseIdentifierBuilder
impl Send for DatabaseIdentifierBuilder
impl Sync for DatabaseIdentifierBuilder
impl Unpin for DatabaseIdentifierBuilder
impl UnwindSafe for DatabaseIdentifierBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.