#[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 ==.