#[non_exhaustive]pub struct RedshiftDatabaseCredentials { /* private fields */ }
Expand description
Describes the database credentials for connecting to a database on an Amazon Redshift cluster.
Implementations§
source§impl RedshiftDatabaseCredentials
impl RedshiftDatabaseCredentials
sourcepub fn username(&self) -> Option<&str>
pub fn username(&self) -> Option<&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() -> Builder
pub fn builder() -> Builder
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RedshiftDatabaseCredentials
impl Debug for RedshiftDatabaseCredentials
source§impl PartialEq<RedshiftDatabaseCredentials> for RedshiftDatabaseCredentials
impl PartialEq<RedshiftDatabaseCredentials> for RedshiftDatabaseCredentials
source§fn eq(&self, other: &RedshiftDatabaseCredentials) -> bool
fn eq(&self, other: &RedshiftDatabaseCredentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.