Interface ExecuteSqlRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ExecuteSqlRequest.Builder,
,ExecuteSqlRequest> RdsDataRequest.Builder
,SdkBuilder<ExecuteSqlRequest.Builder,
,ExecuteSqlRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ExecuteSqlRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsSecretStoreArn
(String awsSecretStoreArn) The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster.The name of the database.dbClusterOrInstanceArn
(String dbClusterOrInstanceArn) The ARN of the Aurora Serverless DB cluster.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the database schema.sqlStatements
(String sqlStatements) One or more SQL statements to run on the DB cluster.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rdsdata.model.RdsDataRequest.Builder
build
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
-
dbClusterOrInstanceArn
The ARN of the Aurora Serverless DB cluster.
- Parameters:
dbClusterOrInstanceArn
- The ARN of the Aurora Serverless DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsSecretStoreArn
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
- Parameters:
awsSecretStoreArn
- The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.For information about creating the secret, see Create a database secret.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqlStatements
One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
- Parameters:
sqlStatements
- One or more SQL statements to run on the DB cluster.You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
The name of the database.
- Parameters:
database
- The name of the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The name of the database schema.
- Parameters:
schema
- The name of the database schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ExecuteSqlRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ExecuteSqlRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-