#[non_exhaustive]pub struct PipeTargetRedshiftDataParametersBuilder { /* private fields */ }
Expand description
A builder for PipeTargetRedshiftDataParameters
.
Implementations§
source§impl PipeTargetRedshiftDataParametersBuilder
impl PipeTargetRedshiftDataParametersBuilder
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 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 Secrets Manager.
sourcepub fn get_secret_manager_arn(&self) -> &Option<String>
pub fn get_secret_manager_arn(&self) -> &Option<String>
The name or ARN of the secret that enables access to the database. Required when authenticating using 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.
This field is required.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 get_database(&self) -> &Option<String>
pub fn get_database(&self) -> &Option<String>
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 get_db_user(&self) -> &Option<String>
pub fn get_db_user(&self) -> &Option<String>
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 get_statement_name(&self) -> &Option<String>
pub fn get_statement_name(&self) -> &Option<String>
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 get_with_event(&self) -> &Option<bool>
pub fn get_with_event(&self) -> &Option<bool>
Indicates whether to send an event back to EventBridge after the SQL statement runs.
sourcepub fn sqls(self, input: impl Into<String>) -> Self
pub fn sqls(self, input: impl Into<String>) -> Self
Appends an item to sqls
.
To override the contents of this collection use set_sqls
.
The SQL statement text to run.
sourcepub fn build(self) -> Result<PipeTargetRedshiftDataParameters, BuildError>
pub fn build(self) -> Result<PipeTargetRedshiftDataParameters, BuildError>
Consumes the builder and constructs a PipeTargetRedshiftDataParameters
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PipeTargetRedshiftDataParametersBuilder
impl Clone for PipeTargetRedshiftDataParametersBuilder
source§fn clone(&self) -> PipeTargetRedshiftDataParametersBuilder
fn clone(&self) -> PipeTargetRedshiftDataParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PipeTargetRedshiftDataParametersBuilder
impl Default for PipeTargetRedshiftDataParametersBuilder
source§fn default() -> PipeTargetRedshiftDataParametersBuilder
fn default() -> PipeTargetRedshiftDataParametersBuilder
source§impl PartialEq for PipeTargetRedshiftDataParametersBuilder
impl PartialEq for PipeTargetRedshiftDataParametersBuilder
source§fn eq(&self, other: &PipeTargetRedshiftDataParametersBuilder) -> bool
fn eq(&self, other: &PipeTargetRedshiftDataParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.