Struct aws_sdk_glue::model::DatabaseInput
source · [−]#[non_exhaustive]pub struct DatabaseInput { /* private fields */ }Expand description
The structure used to create or update a database.
Implementations
sourceimpl DatabaseInput
impl DatabaseInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the database.
sourcepub fn location_uri(&self) -> Option<&str>
pub fn location_uri(&self) -> Option<&str>
The location of the database (for example, an HDFS path).
sourcepub fn parameters(&self) -> Option<&HashMap<String, String>>
pub fn parameters(&self) -> Option<&HashMap<String, String>>
These key-value pairs define parameters and properties of the database.
These key-value pairs define parameters and properties of the database.
sourcepub fn create_table_default_permissions(
&self
) -> Option<&[PrincipalPermissions]>
pub fn create_table_default_permissions(
&self
) -> Option<&[PrincipalPermissions]>
Creates a set of default permissions on the table for principals.
sourcepub fn target_database(&self) -> Option<&DatabaseIdentifier>
pub fn target_database(&self) -> Option<&DatabaseIdentifier>
A DatabaseIdentifier structure that describes a target database for resource linking.
sourceimpl DatabaseInput
impl DatabaseInput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DatabaseInput.
Trait Implementations
sourceimpl Clone for DatabaseInput
impl Clone for DatabaseInput
sourcefn clone(&self) -> DatabaseInput
fn clone(&self) -> DatabaseInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DatabaseInput
impl Debug for DatabaseInput
sourceimpl PartialEq<DatabaseInput> for DatabaseInput
impl PartialEq<DatabaseInput> for DatabaseInput
sourcefn eq(&self, other: &DatabaseInput) -> bool
fn eq(&self, other: &DatabaseInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for DatabaseInput
Auto Trait Implementations
impl RefUnwindSafe for DatabaseInput
impl Send for DatabaseInput
impl Sync for DatabaseInput
impl Unpin for DatabaseInput
impl UnwindSafe for DatabaseInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more