@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 String awsSecretStoreArn()
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster.
public String database()
The name of the database.
public String dbClusterOrInstanceArn()
The ARN of the Aurora Serverless DB cluster.
public String schema()
The name of the database schema.
public 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 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.