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§
source§impl 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.
source§impl DatabaseInput
impl DatabaseInput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DatabaseInput.
Trait Implementations§
source§impl Clone for DatabaseInput
impl Clone for DatabaseInput
source§fn clone(&self) -> DatabaseInput
fn clone(&self) -> DatabaseInput
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 DatabaseInput
impl Debug for DatabaseInput
source§impl PartialEq<DatabaseInput> for DatabaseInput
impl PartialEq<DatabaseInput> for DatabaseInput
source§fn 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 ==.