Struct aws_sdk_glue::input::get_database_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for GetDatabaseInput.
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 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 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 retrieve. For Hive compatibility, this should be all 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 retrieve. For Hive compatibility, this should be all lowercase.
sourcepub fn build(self) -> Result<GetDatabaseInput, BuildError>
pub fn build(self) -> Result<GetDatabaseInput, BuildError>
Consumes the builder and constructs a GetDatabaseInput.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more