#[non_exhaustive]pub struct RedshiftDatabaseCredentials {
pub username: String,
pub password: String,
}Expand description
Describes the database credentials for connecting to a database on an Amazon Redshift cluster.
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.username: StringA 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.
password: StringA password to be used by Amazon ML to connect to a database on an Amazon Redshift cluster. The password should have sufficient permissions to execute a RedshiftSelectSqlQuery query. The password should be valid for an Amazon Redshift USER.
Implementations§
source§impl RedshiftDatabaseCredentials
impl RedshiftDatabaseCredentials
sourcepub fn username(&self) -> &str
pub fn username(&self) -> &str
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.
source§impl RedshiftDatabaseCredentials
impl RedshiftDatabaseCredentials
sourcepub fn builder() -> RedshiftDatabaseCredentialsBuilder
pub fn builder() -> RedshiftDatabaseCredentialsBuilder
Creates a new builder-style object to manufacture RedshiftDatabaseCredentials.
Trait Implementations§
source§impl Clone for RedshiftDatabaseCredentials
impl Clone for RedshiftDatabaseCredentials
source§fn clone(&self) -> RedshiftDatabaseCredentials
fn clone(&self) -> RedshiftDatabaseCredentials
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RedshiftDatabaseCredentials
impl Debug for RedshiftDatabaseCredentials
source§impl PartialEq for RedshiftDatabaseCredentials
impl PartialEq for RedshiftDatabaseCredentials
source§fn eq(&self, other: &RedshiftDatabaseCredentials) -> bool
fn eq(&self, other: &RedshiftDatabaseCredentials) -> bool
self and other values to be equal, and is used
by ==.