@Generated(value="software.amazon.awssdk:codegen") public final class ExecuteSqlRequest extends RdsDataRequest implements ToCopyableBuilder<ExecuteSqlRequest.Builder,ExecuteSqlRequest>
The request parameters represent the input of a request to run one or more SQL statements.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExecuteSqlRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
awsSecretStoreArn()
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster.
|
static ExecuteSqlRequest.Builder |
builder() |
String |
database()
The name of the database.
|
String |
dbClusterOrInstanceArn()
The ARN of the Aurora Serverless DB cluster.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
schema()
The name of the database schema.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExecuteSqlRequest.Builder> |
serializableBuilderClass() |
String |
sqlStatements()
One or more SQL statements to run on the DB cluster.
|
ExecuteSqlRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String dbClusterOrInstanceArn()
The ARN of the Aurora Serverless DB cluster.
public final String 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.
For information about creating the secret, see Create a database secret.
public final String 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.
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.
public final String database()
The name of the database.
public final String schema()
The name of the database schema.
public ExecuteSqlRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExecuteSqlRequest.Builder,ExecuteSqlRequest>toBuilder in class RdsDataRequestpublic static ExecuteSqlRequest.Builder builder()
public static Class<? extends ExecuteSqlRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.