#[non_exhaustive]pub struct CatalogSchemaChangePolicyBuilder { /* private fields */ }
Expand description
A builder for CatalogSchemaChangePolicy
.
Implementations§
source§impl CatalogSchemaChangePolicyBuilder
impl CatalogSchemaChangePolicyBuilder
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 build(self) -> CatalogSchemaChangePolicy
pub fn build(self) -> CatalogSchemaChangePolicy
Consumes the builder and constructs a CatalogSchemaChangePolicy
.
Trait Implementations§
source§impl Clone for CatalogSchemaChangePolicyBuilder
impl Clone for CatalogSchemaChangePolicyBuilder
source§fn clone(&self) -> CatalogSchemaChangePolicyBuilder
fn clone(&self) -> CatalogSchemaChangePolicyBuilder
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 Default for CatalogSchemaChangePolicyBuilder
impl Default for CatalogSchemaChangePolicyBuilder
source§fn default() -> CatalogSchemaChangePolicyBuilder
fn default() -> CatalogSchemaChangePolicyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CatalogSchemaChangePolicyBuilder
impl PartialEq for CatalogSchemaChangePolicyBuilder
source§fn eq(&self, other: &CatalogSchemaChangePolicyBuilder) -> bool
fn eq(&self, other: &CatalogSchemaChangePolicyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CatalogSchemaChangePolicyBuilder
Auto Trait Implementations§
impl Freeze for CatalogSchemaChangePolicyBuilder
impl RefUnwindSafe for CatalogSchemaChangePolicyBuilder
impl Send for CatalogSchemaChangePolicyBuilder
impl Sync for CatalogSchemaChangePolicyBuilder
impl Unpin for CatalogSchemaChangePolicyBuilder
impl UnwindSafe for CatalogSchemaChangePolicyBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.