pub struct DataCatalogConfigBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> DataCatalogConfigBuilder<S>
impl<S: State> DataCatalogConfigBuilder<S>
Sourcepub fn build(self) -> DataCatalogConfigwhere
S: IsComplete,
pub fn build(self) -> DataCatalogConfigwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn path(self, value: String) -> DataCatalogConfigBuilder<SetPath<S>>where
S::Path: IsUnset,
pub fn path(self, value: String) -> DataCatalogConfigBuilder<SetPath<S>>where
S::Path: IsUnset,
Required.
The path to the data catalog.
Sourcepub fn name(self, value: String) -> DataCatalogConfigBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(self, value: String) -> DataCatalogConfigBuilder<SetName<S>>where
S::Name: IsUnset,
Sourcepub fn maybe_name(
self,
value: Option<String>,
) -> DataCatalogConfigBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<String>,
) -> DataCatalogConfigBuilder<SetName<S>>where
S::Name: IsUnset,
Sourcepub fn fs_protocol(
self,
value: String,
) -> DataCatalogConfigBuilder<SetFsProtocol<S>>where
S::FsProtocol: IsUnset,
pub fn fs_protocol(
self,
value: String,
) -> DataCatalogConfigBuilder<SetFsProtocol<S>>where
S::FsProtocol: IsUnset,
Sourcepub fn maybe_fs_protocol(
self,
value: Option<String>,
) -> DataCatalogConfigBuilder<SetFsProtocol<S>>where
S::FsProtocol: IsUnset,
pub fn maybe_fs_protocol(
self,
value: Option<String>,
) -> DataCatalogConfigBuilder<SetFsProtocol<S>>where
S::FsProtocol: IsUnset,
Sourcepub fn catalog_backend(
self,
value: CatalogBackendType,
) -> DataCatalogConfigBuilder<SetCatalogBackend<S>>where
S::CatalogBackend: IsUnset,
pub fn catalog_backend(
self,
value: CatalogBackendType,
) -> DataCatalogConfigBuilder<SetCatalogBackend<S>>where
S::CatalogBackend: IsUnset,
Sourcepub fn maybe_catalog_backend(
self,
value: Option<CatalogBackendType>,
) -> DataCatalogConfigBuilder<SetCatalogBackend<S>>where
S::CatalogBackend: IsUnset,
pub fn maybe_catalog_backend(
self,
value: Option<CatalogBackendType>,
) -> DataCatalogConfigBuilder<SetCatalogBackend<S>>where
S::CatalogBackend: IsUnset,
Sourcepub fn params(self, value: Params) -> DataCatalogConfigBuilder<SetParams<S>>where
S::Params: IsUnset,
pub fn params(self, value: Params) -> DataCatalogConfigBuilder<SetParams<S>>where
S::Params: IsUnset,
Sourcepub fn maybe_params(
self,
value: Option<Params>,
) -> DataCatalogConfigBuilder<SetParams<S>>where
S::Params: IsUnset,
pub fn maybe_params(
self,
value: Option<Params>,
) -> DataCatalogConfigBuilder<SetParams<S>>where
S::Params: IsUnset,
Sourcepub fn fs_rust_storage_options(
self,
value: AHashMap<String, String>,
) -> DataCatalogConfigBuilder<SetFsRustStorageOptions<S>>where
S::FsRustStorageOptions: IsUnset,
pub fn fs_rust_storage_options(
self,
value: AHashMap<String, String>,
) -> DataCatalogConfigBuilder<SetFsRustStorageOptions<S>>where
S::FsRustStorageOptions: IsUnset,
Sourcepub fn maybe_fs_rust_storage_options(
self,
value: Option<AHashMap<String, String>>,
) -> DataCatalogConfigBuilder<SetFsRustStorageOptions<S>>where
S::FsRustStorageOptions: IsUnset,
pub fn maybe_fs_rust_storage_options(
self,
value: Option<AHashMap<String, String>>,
) -> DataCatalogConfigBuilder<SetFsRustStorageOptions<S>>where
S::FsRustStorageOptions: IsUnset,
Sourcepub fn read_only(self, value: bool) -> DataCatalogConfigBuilder<SetReadOnly<S>>where
S::ReadOnly: IsUnset,
pub fn read_only(self, value: bool) -> DataCatalogConfigBuilder<SetReadOnly<S>>where
S::ReadOnly: IsUnset,
Sourcepub fn maybe_read_only(
self,
value: Option<bool>,
) -> DataCatalogConfigBuilder<SetReadOnly<S>>where
S::ReadOnly: IsUnset,
pub fn maybe_read_only(
self,
value: Option<bool>,
) -> DataCatalogConfigBuilder<SetReadOnly<S>>where
S::ReadOnly: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for DataCatalogConfigBuilder<S>
impl<S> RefUnwindSafe for DataCatalogConfigBuilder<S>
impl<S> Send for DataCatalogConfigBuilder<S>
impl<S> Sync for DataCatalogConfigBuilder<S>
impl<S> Unpin for DataCatalogConfigBuilder<S>
impl<S> UnsafeUnpin for DataCatalogConfigBuilder<S>
impl<S> UnwindSafe for DataCatalogConfigBuilder<S>
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 more