@Generated(value="software.amazon.awssdk:codegen") public final class BatchExecuteStatementRequest extends RdsDataRequest implements ToCopyableBuilder<BatchExecuteStatementRequest.Builder,BatchExecuteStatementRequest>
The request parameters represent the input of a SQL statement over an array of data.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchExecuteStatementRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchExecuteStatementRequest.Builder |
builder() |
String |
database()
The name of the database.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasParameterSets()
Returns true if the ParameterSets property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<List<SqlParameter>> |
parameterSets()
The parameter set for the batch operation.
|
String |
resourceArn()
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
|
String |
schema()
The name of the database schema.
|
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The name or ARN of the secret that enables access to the DB cluster.
|
static Class<? extends BatchExecuteStatementRequest.Builder> |
serializableBuilderClass() |
String |
sql()
The SQL statement to run.
|
BatchExecuteStatementRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transactionId()
The identifier of a transaction that was started by using the
BeginTransaction operation. |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String database()
The name of the database.
public final boolean hasParameterSets()
public final List<List<SqlParameter>> parameterSets()
The parameter set for the batch operation.
The SQL statement is executed as many times as the number of parameter sets provided. To execute a SQL statement with no parameters, use one of the following options:
Specify one or more empty parameter sets.
Use the ExecuteStatement operation instead of the BatchExecuteStatement operation.
Array parameters are not supported.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParameterSets() to see if a value was sent in this field.
The SQL statement is executed as many times as the number of parameter sets provided. To execute a SQL statement with no parameters, use one of the following options:
Specify one or more empty parameter sets.
Use the ExecuteStatement operation instead of the BatchExecuteStatement
operation.
Array parameters are not supported.
public final String resourceArn()
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
public final String schema()
The name of the database schema.
public final String secretArn()
The name or ARN of the secret that enables access to the DB cluster.
public final String sql()
The SQL statement to run.
public final String transactionId()
The identifier of a transaction that was started by using the BeginTransaction operation. Specify
the transaction ID of the transaction that you want to include the SQL statement in.
If the SQL statement is not part of a transaction, don't set this parameter.
BeginTransaction operation.
Specify the transaction ID of the transaction that you want to include the SQL statement in.
If the SQL statement is not part of a transaction, don't set this parameter.
public BatchExecuteStatementRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchExecuteStatementRequest.Builder,BatchExecuteStatementRequest>toBuilder in class RdsDataRequestpublic static BatchExecuteStatementRequest.Builder builder()
public static Class<? extends BatchExecuteStatementRequest.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 © 2021. All rights reserved.