pub struct Builder { /* private fields */ }Expand description
A builder for RedshiftDataParameters.
Implementations§
source§impl Builder
impl Builder
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.
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.
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.