pub struct Builder { /* private fields */ }
Expand description
A builder for PipeTargetRedshiftDataParameters
.
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 SageMaker.
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 SageMaker.
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 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) -> PipeTargetRedshiftDataParameters
pub fn build(self) -> PipeTargetRedshiftDataParameters
Consumes the builder and constructs a PipeTargetRedshiftDataParameters
.