public static interface BatchExecuteStatementRequest.Builder extends RedshiftDataRequest.Builder, SdkPojo, CopyableBuilder<BatchExecuteStatementRequest.Builder,BatchExecuteStatementRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchExecuteStatementRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.BatchExecuteStatementRequest.Builder clusterIdentifier(String clusterIdentifier)
The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
clusterIdentifier - The cluster identifier. This parameter is required when connecting to a cluster and authenticating
using either Secrets Manager or temporary credentials.BatchExecuteStatementRequest.Builder database(String database)
The name of the database. This parameter is required when authenticating using either Secrets Manager or temporary credentials.
database - The name of the database. This parameter is required when authenticating using either Secrets Manager
or temporary credentials.BatchExecuteStatementRequest.Builder dbUser(String dbUser)
The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials.
dbUser - The database user name. This parameter is required when connecting to a cluster and authenticating
using temporary credentials.BatchExecuteStatementRequest.Builder secretArn(String secretArn)
The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.
secretArn - The name or ARN of the secret that enables access to the database. This parameter is required when
authenticating using Secrets Manager.BatchExecuteStatementRequest.Builder sqls(Collection<String> 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.</p>
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.</p> @return Returns a reference to this object so that method calls can be chained
together.BatchExecuteStatementRequest.Builder sqls(String... 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.</p>
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.</p> @return Returns a reference to this object so that method calls can be chained
together.BatchExecuteStatementRequest.Builder statementName(String statementName)
The name of the SQL statements. You can name the SQL statements when you create them to identify the query.
statementName - The name of the SQL statements. You can name the SQL statements when you create them to identify the
query.BatchExecuteStatementRequest.Builder withEvent(Boolean withEvent)
A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statements run.
withEvent - A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL
statements run.BatchExecuteStatementRequest.Builder workgroupName(String workgroupName)
The serverless workgroup name. This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
workgroupName - The serverless workgroup name. This parameter is required when connecting to a serverless workgroup
and authenticating using either Secrets Manager or temporary credentials.BatchExecuteStatementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderBatchExecuteStatementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.