@Stability(value=Stable) public static final class CfnRule.RedshiftDataParametersProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRule.RedshiftDataParametersProperty>
CfnRule.RedshiftDataParametersProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnRule.RedshiftDataParametersProperty.Builder database(String database)
CfnRule.RedshiftDataParametersProperty.getDatabase()database - The name of the database. This parameter is required.
Required when authenticating using temporary credentials.this@Stability(value=Stable) public CfnRule.RedshiftDataParametersProperty.Builder sql(String sql)
CfnRule.RedshiftDataParametersProperty.getSql()sql - The SQL statement text to run. This parameter is required.this@Stability(value=Stable) public CfnRule.RedshiftDataParametersProperty.Builder dbUser(String dbUser)
CfnRule.RedshiftDataParametersProperty.getDbUser()dbUser - The database user name.
Required when authenticating using temporary credentials.this@Stability(value=Stable) public CfnRule.RedshiftDataParametersProperty.Builder secretManagerArn(String secretManagerArn)
CfnRule.RedshiftDataParametersProperty.getSecretManagerArn()secretManagerArn - The name or ARN of the secret that enables access to the database.
Required when authenticating using AWS Secrets Manager.this@Stability(value=Stable) public CfnRule.RedshiftDataParametersProperty.Builder statementName(String statementName)
CfnRule.RedshiftDataParametersProperty.getStatementName()statementName - The name of the SQL statement.
You can name the SQL statement when you create it to identify the query.this@Stability(value=Stable) public CfnRule.RedshiftDataParametersProperty.Builder withEvent(Boolean withEvent)
CfnRule.RedshiftDataParametersProperty.getWithEvent()withEvent - Indicates whether to send an event back to EventBridge after the SQL statement runs.this@Stability(value=Stable) public CfnRule.RedshiftDataParametersProperty.Builder withEvent(IResolvable withEvent)
CfnRule.RedshiftDataParametersProperty.getWithEvent()withEvent - Indicates whether to send an event back to EventBridge after the SQL statement runs.this@Stability(value=Stable) public CfnRule.RedshiftDataParametersProperty build()
build in interface software.amazon.jsii.Builder<CfnRule.RedshiftDataParametersProperty>CfnRule.RedshiftDataParametersPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.