public static interface ExecuteStatementRequest.Builder extends RedshiftDataRequest.Builder, SdkPojo, CopyableBuilder<ExecuteStatementRequest.Builder,ExecuteStatementRequest>
| Modifier and Type | Method and Description |
|---|---|
ExecuteStatementRequest.Builder |
clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
ExecuteStatementRequest.Builder |
clusterIdentifier(String clusterIdentifier)
The cluster identifier.
|
ExecuteStatementRequest.Builder |
database(String database)
The name of the database.
|
ExecuteStatementRequest.Builder |
dbUser(String dbUser)
The database user name.
|
ExecuteStatementRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ExecuteStatementRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ExecuteStatementRequest.Builder |
parameters(Collection<SqlParameter> parameters)
The parameters for the SQL statement.
|
ExecuteStatementRequest.Builder |
parameters(Consumer<SqlParameter.Builder>... parameters)
The parameters for the SQL statement.
|
ExecuteStatementRequest.Builder |
parameters(SqlParameter... parameters)
The parameters for the SQL statement.
|
ExecuteStatementRequest.Builder |
secretArn(String secretArn)
The name or ARN of the secret that enables access to the database.
|
ExecuteStatementRequest.Builder |
sql(String sql)
The SQL statement text to run.
|
ExecuteStatementRequest.Builder |
statementName(String statementName)
The name of the SQL statement.
|
ExecuteStatementRequest.Builder |
withEvent(Boolean withEvent)
A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement
runs.
|
ExecuteStatementRequest.Builder |
workgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN).
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildExecuteStatementRequest.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.ExecuteStatementRequest.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.ExecuteStatementRequest.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.ExecuteStatementRequest.Builder dbUser(String dbUser)
The database user name. This parameter is required when connecting to a cluster as a database user and authenticating using temporary credentials.
dbUser - The database user name. This parameter is required when connecting to a cluster as a database user and
authenticating using temporary credentials.ExecuteStatementRequest.Builder parameters(Collection<SqlParameter> parameters)
The parameters for the SQL statement.
parameters - The parameters for the SQL statement.ExecuteStatementRequest.Builder parameters(SqlParameter... parameters)
The parameters for the SQL statement.
parameters - The parameters for the SQL statement.ExecuteStatementRequest.Builder parameters(Consumer<SqlParameter.Builder>... parameters)
The parameters for the SQL statement.
This is a convenience method that creates an instance of theSqlParameter.Builder avoiding the need to create
one manually via SqlParameter.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #parameters(List.
parameters - a consumer that will call methods on
SqlParameter.Builder#parameters(java.util.Collection) ExecuteStatementRequest.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.ExecuteStatementRequest.Builder sql(String sql)
The SQL statement text to run.
sql - The SQL statement text to run.ExecuteStatementRequest.Builder statementName(String statementName)
The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
statementName - The name of the SQL statement. You can name the SQL statement when you create it to identify the
query.ExecuteStatementRequest.Builder withEvent(Boolean withEvent)
A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.
withEvent - A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL
statement runs.ExecuteStatementRequest.Builder workgroupName(String workgroupName)
The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.
workgroupName - The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when
connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary
credentials.ExecuteStatementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderExecuteStatementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.