#[non_exhaustive]pub struct DirectSchemaChangePolicyBuilder { /* private fields */ }Expand description
A builder for DirectSchemaChangePolicy.
Implementations§
source§impl DirectSchemaChangePolicyBuilder
impl DirectSchemaChangePolicyBuilder
sourcepub fn enable_update_catalog(self, input: bool) -> Self
pub fn enable_update_catalog(self, input: bool) -> Self
Whether to use the specified update behavior when the crawler finds a changed schema.
sourcepub fn set_enable_update_catalog(self, input: Option<bool>) -> Self
pub fn set_enable_update_catalog(self, input: Option<bool>) -> Self
Whether to use the specified update behavior when the crawler finds a changed schema.
sourcepub fn get_enable_update_catalog(&self) -> &Option<bool>
pub fn get_enable_update_catalog(&self) -> &Option<bool>
Whether to use the specified update behavior when the crawler finds a changed schema.
sourcepub fn update_behavior(self, input: UpdateCatalogBehavior) -> Self
pub fn update_behavior(self, input: UpdateCatalogBehavior) -> Self
The update behavior when the crawler finds a changed schema.
sourcepub fn set_update_behavior(self, input: Option<UpdateCatalogBehavior>) -> Self
pub fn set_update_behavior(self, input: Option<UpdateCatalogBehavior>) -> Self
The update behavior when the crawler finds a changed schema.
sourcepub fn get_update_behavior(&self) -> &Option<UpdateCatalogBehavior>
pub fn get_update_behavior(&self) -> &Option<UpdateCatalogBehavior>
The update behavior when the crawler finds a changed schema.
sourcepub fn table(self, input: impl Into<String>) -> Self
pub fn table(self, input: impl Into<String>) -> Self
Specifies the table in the database that the schema change policy applies to.
sourcepub fn set_table(self, input: Option<String>) -> Self
pub fn set_table(self, input: Option<String>) -> Self
Specifies the table in the database that the schema change policy applies to.
sourcepub fn get_table(&self) -> &Option<String>
pub fn get_table(&self) -> &Option<String>
Specifies the table in the database that the schema change policy applies to.
sourcepub fn database(self, input: impl Into<String>) -> Self
pub fn database(self, input: impl Into<String>) -> Self
Specifies the database that the schema change policy applies to.
sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
Specifies the database that the schema change policy applies to.
sourcepub fn get_database(&self) -> &Option<String>
pub fn get_database(&self) -> &Option<String>
Specifies the database that the schema change policy applies to.
sourcepub fn build(self) -> DirectSchemaChangePolicy
pub fn build(self) -> DirectSchemaChangePolicy
Consumes the builder and constructs a DirectSchemaChangePolicy.
Trait Implementations§
source§impl Clone for DirectSchemaChangePolicyBuilder
impl Clone for DirectSchemaChangePolicyBuilder
source§fn clone(&self) -> DirectSchemaChangePolicyBuilder
fn clone(&self) -> DirectSchemaChangePolicyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DirectSchemaChangePolicyBuilder
impl Default for DirectSchemaChangePolicyBuilder
source§fn default() -> DirectSchemaChangePolicyBuilder
fn default() -> DirectSchemaChangePolicyBuilder
source§impl PartialEq for DirectSchemaChangePolicyBuilder
impl PartialEq for DirectSchemaChangePolicyBuilder
source§fn eq(&self, other: &DirectSchemaChangePolicyBuilder) -> bool
fn eq(&self, other: &DirectSchemaChangePolicyBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DirectSchemaChangePolicyBuilder
Auto Trait Implementations§
impl Freeze for DirectSchemaChangePolicyBuilder
impl RefUnwindSafe for DirectSchemaChangePolicyBuilder
impl Send for DirectSchemaChangePolicyBuilder
impl Sync for DirectSchemaChangePolicyBuilder
impl Unpin for DirectSchemaChangePolicyBuilder
impl UnwindSafe for DirectSchemaChangePolicyBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more