Struct aws_sdk_machinelearning::model::redshift_metadata::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RedshiftMetadata
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> RedshiftMetadata
pub fn build(self) -> RedshiftMetadata
Consumes the builder and constructs a RedshiftMetadata
.