#[non_exhaustive]pub struct SnowflakeConnectorProfileProperties {
pub warehouse: String,
pub stage: String,
pub bucket_name: String,
pub bucket_prefix: Option<String>,
pub private_link_service_name: Option<String>,
pub account_name: Option<String>,
pub region: Option<String>,
}Expand description
The connector-specific profile properties required when using Snowflake.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.warehouse: StringThe name of the Snowflake warehouse.
stage: StringThe name of the Amazon S3 stage that was created while setting up an Amazon S3 stage in the Snowflake account. This is written in the following format: < Database>< Schema>
bucket_name: StringThe name of the Amazon S3 bucket associated with Snowflake.
bucket_prefix: Option<String>The bucket path that refers to the Amazon S3 bucket associated with Snowflake.
private_link_service_name: Option<String>The Snowflake Private Link service name to be used for private data transfers.
account_name: Option<String>The name of the account.
region: Option<String>The Amazon Web Services Region of the Snowflake account.
Implementations§
source§impl SnowflakeConnectorProfileProperties
impl SnowflakeConnectorProfileProperties
sourcepub fn stage(&self) -> &str
pub fn stage(&self) -> &str
The name of the Amazon S3 stage that was created while setting up an Amazon S3 stage in the Snowflake account. This is written in the following format: < Database>< Schema>
sourcepub fn bucket_name(&self) -> &str
pub fn bucket_name(&self) -> &str
The name of the Amazon S3 bucket associated with Snowflake.
sourcepub fn bucket_prefix(&self) -> Option<&str>
pub fn bucket_prefix(&self) -> Option<&str>
The bucket path that refers to the Amazon S3 bucket associated with Snowflake.
sourcepub fn private_link_service_name(&self) -> Option<&str>
pub fn private_link_service_name(&self) -> Option<&str>
The Snowflake Private Link service name to be used for private data transfers.
sourcepub fn account_name(&self) -> Option<&str>
pub fn account_name(&self) -> Option<&str>
The name of the account.
source§impl SnowflakeConnectorProfileProperties
impl SnowflakeConnectorProfileProperties
sourcepub fn builder() -> SnowflakeConnectorProfilePropertiesBuilder
pub fn builder() -> SnowflakeConnectorProfilePropertiesBuilder
Creates a new builder-style object to manufacture SnowflakeConnectorProfileProperties.
Trait Implementations§
source§impl Clone for SnowflakeConnectorProfileProperties
impl Clone for SnowflakeConnectorProfileProperties
source§fn clone(&self) -> SnowflakeConnectorProfileProperties
fn clone(&self) -> SnowflakeConnectorProfileProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for SnowflakeConnectorProfileProperties
impl PartialEq for SnowflakeConnectorProfileProperties
source§fn eq(&self, other: &SnowflakeConnectorProfileProperties) -> bool
fn eq(&self, other: &SnowflakeConnectorProfileProperties) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SnowflakeConnectorProfileProperties
Auto Trait Implementations§
impl Freeze for SnowflakeConnectorProfileProperties
impl RefUnwindSafe for SnowflakeConnectorProfileProperties
impl Send for SnowflakeConnectorProfileProperties
impl Sync for SnowflakeConnectorProfileProperties
impl Unpin for SnowflakeConnectorProfileProperties
impl UnwindSafe for SnowflakeConnectorProfileProperties
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