#[non_exhaustive]pub struct RedshiftDataParametersBuilder { /* private fields */ }
Expand description
A builder for RedshiftDataParameters
.
Implementations§
source§impl RedshiftDataParametersBuilder
impl RedshiftDataParametersBuilder
sourcepub fn secret_manager_arn(self, input: impl Into<String>) -> Self
pub fn secret_manager_arn(self, input: impl Into<String>) -> Self
The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.
sourcepub fn set_secret_manager_arn(self, input: Option<String>) -> Self
pub fn set_secret_manager_arn(self, input: Option<String>) -> Self
The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.
sourcepub fn database(self, input: impl Into<String>) -> Self
pub fn database(self, input: impl Into<String>) -> Self
The name of the database. Required when authenticating using temporary credentials.
sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The name of the database. Required when authenticating using temporary credentials.
sourcepub fn db_user(self, input: impl Into<String>) -> Self
pub fn db_user(self, input: impl Into<String>) -> Self
The database user name. Required when authenticating using temporary credentials.
Do not provide this parameter when connecting to a Redshift Serverless workgroup.
sourcepub fn set_db_user(self, input: Option<String>) -> Self
pub fn set_db_user(self, input: Option<String>) -> Self
The database user name. Required when authenticating using temporary credentials.
Do not provide this parameter when connecting to a Redshift Serverless workgroup.
sourcepub fn statement_name(self, input: impl Into<String>) -> Self
pub fn statement_name(self, input: impl Into<String>) -> Self
The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
sourcepub fn set_statement_name(self, input: Option<String>) -> Self
pub fn set_statement_name(self, input: Option<String>) -> Self
The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
sourcepub fn with_event(self, input: bool) -> Self
pub fn with_event(self, input: bool) -> Self
Indicates whether to send an event back to EventBridge after the SQL statement runs.
sourcepub fn set_with_event(self, input: Option<bool>) -> Self
pub fn set_with_event(self, input: Option<bool>) -> Self
Indicates whether to send an event back to EventBridge after the SQL statement runs.
sourcepub fn build(self) -> RedshiftDataParameters
pub fn build(self) -> RedshiftDataParameters
Consumes the builder and constructs a RedshiftDataParameters
.
Trait Implementations§
source§impl Clone for RedshiftDataParametersBuilder
impl Clone for RedshiftDataParametersBuilder
source§fn clone(&self) -> RedshiftDataParametersBuilder
fn clone(&self) -> RedshiftDataParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RedshiftDataParametersBuilder
impl Default for RedshiftDataParametersBuilder
source§fn default() -> RedshiftDataParametersBuilder
fn default() -> RedshiftDataParametersBuilder
source§impl PartialEq<RedshiftDataParametersBuilder> for RedshiftDataParametersBuilder
impl PartialEq<RedshiftDataParametersBuilder> for RedshiftDataParametersBuilder
source§fn eq(&self, other: &RedshiftDataParametersBuilder) -> bool
fn eq(&self, other: &RedshiftDataParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.