Interface RedshiftDataParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftDataParameters.Builder,
,RedshiftDataParameters> SdkBuilder<RedshiftDataParameters.Builder,
,RedshiftDataParameters> SdkPojo
- Enclosing class:
RedshiftDataParameters
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the database.The database user name.secretManagerArn
(String secretManagerArn) The name or ARN of the secret that enables access to the database.The SQL statement text to run.One or more SQL statements to run.sqls
(Collection<String> sqls) One or more SQL statements to run.statementName
(String statementName) The name of the SQL statement.Indicates whether to send an event back to EventBridge after the SQL statement runs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
secretManagerArn
The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.
- Parameters:
secretManagerArn
- The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
The name of the database. Required when authenticating using temporary credentials.
- Parameters:
database
- The name of the database. Required when authenticating using temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbUser
The database user name. Required when authenticating using temporary credentials.
- Parameters:
dbUser
- The database user name. Required when authenticating using temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sql
The SQL statement text to run.
- Parameters:
sql
- The SQL statement text to run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statementName
The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
- Parameters:
statementName
- The name of the SQL statement. You can name the SQL statement when you create it to identify the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEvent
Indicates whether to send an event back to EventBridge after the SQL statement runs.
- Parameters:
withEvent
- Indicates whether to send an event back to EventBridge after the SQL statement runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqls
One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.
- Parameters:
sqls
- One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqls
One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.
- Parameters:
sqls
- One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-