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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rdsdata.model.RdsDataRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-