#[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: String
The name of the Snowflake warehouse.
stage: String
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>
bucket_name: String
The 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 ==
.