Struct aws_sdk_glue::model::database_input::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for DatabaseInput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the database.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the database.
sourcepub fn location_uri(self, input: impl Into<String>) -> Self
pub fn location_uri(self, input: impl Into<String>) -> Self
The location of the database (for example, an HDFS path).
sourcepub fn set_location_uri(self, input: Option<String>) -> Self
pub fn set_location_uri(self, input: Option<String>) -> Self
The location of the database (for example, an HDFS path).
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
.
These key-value pairs define parameters and properties of the database.
These key-value pairs define parameters and properties of the database.
sourcepub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
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,
input: PrincipalPermissions
) -> Self
pub fn create_table_default_permissions(
self,
input: PrincipalPermissions
) -> Self
Appends an item to create_table_default_permissions
.
To override the contents of this collection use set_create_table_default_permissions
.
Creates a set of default permissions on the table for principals.
sourcepub fn set_create_table_default_permissions(
self,
input: Option<Vec<PrincipalPermissions>>
) -> Self
pub fn set_create_table_default_permissions(
self,
input: Option<Vec<PrincipalPermissions>>
) -> Self
Creates a set of default permissions on the table for principals.
sourcepub fn target_database(self, input: DatabaseIdentifier) -> Self
pub fn target_database(self, input: DatabaseIdentifier) -> Self
A DatabaseIdentifier
structure that describes a target database for resource linking.
sourcepub fn set_target_database(self, input: Option<DatabaseIdentifier>) -> Self
pub fn set_target_database(self, input: Option<DatabaseIdentifier>) -> Self
A DatabaseIdentifier
structure that describes a target database for resource linking.
sourcepub fn build(self) -> DatabaseInput
pub fn build(self) -> DatabaseInput
Consumes the builder and constructs a DatabaseInput
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 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