#[non_exhaustive]pub struct RedshiftMetadataBuilder { /* private fields */ }
Expand description
A builder for RedshiftMetadata
.
Implementations§
source§impl RedshiftMetadataBuilder
impl RedshiftMetadataBuilder
sourcepub fn redshift_database(self, input: RedshiftDatabase) -> Self
pub fn redshift_database(self, input: RedshiftDatabase) -> Self
Describes the database details required to connect to an Amazon Redshift database.
sourcepub fn set_redshift_database(self, input: Option<RedshiftDatabase>) -> Self
pub fn set_redshift_database(self, input: Option<RedshiftDatabase>) -> Self
Describes the database details required to connect to an Amazon Redshift database.
sourcepub fn get_redshift_database(&self) -> &Option<RedshiftDatabase>
pub fn get_redshift_database(&self) -> &Option<RedshiftDatabase>
Describes the database details required to connect to an Amazon Redshift database.
sourcepub fn database_user_name(self, input: impl Into<String>) -> Self
pub fn database_user_name(self, input: impl Into<String>) -> Self
A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster. The username should have sufficient permissions to execute the RedshiftSelectSqlQuery
query. The username should be valid for an Amazon Redshift USER.
sourcepub fn set_database_user_name(self, input: Option<String>) -> Self
pub fn set_database_user_name(self, input: Option<String>) -> Self
A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster. The username should have sufficient permissions to execute the RedshiftSelectSqlQuery
query. The username should be valid for an Amazon Redshift USER.
sourcepub fn get_database_user_name(&self) -> &Option<String>
pub fn get_database_user_name(&self) -> &Option<String>
A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster. The username should have sufficient permissions to execute the RedshiftSelectSqlQuery
query. The username should be valid for an Amazon Redshift USER.
sourcepub fn select_sql_query(self, input: impl Into<String>) -> Self
pub fn select_sql_query(self, input: impl Into<String>) -> Self
The SQL query that is specified during CreateDataSourceFromRedshift
. Returns only if Verbose
is true in GetDataSourceInput.
sourcepub fn set_select_sql_query(self, input: Option<String>) -> Self
pub fn set_select_sql_query(self, input: Option<String>) -> Self
The SQL query that is specified during CreateDataSourceFromRedshift
. Returns only if Verbose
is true in GetDataSourceInput.
sourcepub fn get_select_sql_query(&self) -> &Option<String>
pub fn get_select_sql_query(&self) -> &Option<String>
The SQL query that is specified during CreateDataSourceFromRedshift
. Returns only if Verbose
is true in GetDataSourceInput.
sourcepub fn build(self) -> RedshiftMetadata
pub fn build(self) -> RedshiftMetadata
Consumes the builder and constructs a RedshiftMetadata
.
Trait Implementations§
source§impl Clone for RedshiftMetadataBuilder
impl Clone for RedshiftMetadataBuilder
source§fn clone(&self) -> RedshiftMetadataBuilder
fn clone(&self) -> RedshiftMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RedshiftMetadataBuilder
impl Debug for RedshiftMetadataBuilder
source§impl Default for RedshiftMetadataBuilder
impl Default for RedshiftMetadataBuilder
source§fn default() -> RedshiftMetadataBuilder
fn default() -> RedshiftMetadataBuilder
source§impl PartialEq for RedshiftMetadataBuilder
impl PartialEq for RedshiftMetadataBuilder
source§fn eq(&self, other: &RedshiftMetadataBuilder) -> bool
fn eq(&self, other: &RedshiftMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.