Struct aws_sdk_athena::types::builders::DatabaseBuilder
source · #[non_exhaustive]pub struct DatabaseBuilder { /* private fields */ }Expand description
A builder for Database.
Implementations§
source§impl DatabaseBuilder
impl DatabaseBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the database.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
An optional description of the database.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
An optional description of the database.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
An optional description of the database.
sourcepub fn parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to parameters.
To override the contents of this collection use set_parameters.
A set of custom key/value pairs.
sourcepub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
A set of custom key/value pairs.
Trait Implementations§
source§impl Clone for DatabaseBuilder
impl Clone for DatabaseBuilder
source§fn clone(&self) -> DatabaseBuilder
fn clone(&self) -> DatabaseBuilder
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 DatabaseBuilder
impl Debug for DatabaseBuilder
source§impl Default for DatabaseBuilder
impl Default for DatabaseBuilder
source§fn default() -> DatabaseBuilder
fn default() -> DatabaseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DatabaseBuilder
impl PartialEq for DatabaseBuilder
source§fn eq(&self, other: &DatabaseBuilder) -> bool
fn eq(&self, other: &DatabaseBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatabaseBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DatabaseBuilder
impl Send for DatabaseBuilder
impl Sync for DatabaseBuilder
impl Unpin for DatabaseBuilder
impl UnwindSafe for DatabaseBuilder
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>
Creates a shared type from an unshared type.