@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchExecuteStatementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request parameters represent the input of a SQL statement over an array of data.
NOOP
Constructor and Description |
---|
BatchExecuteStatementRequest() |
Modifier and Type | Method and Description |
---|---|
BatchExecuteStatementRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDatabase()
The name of the database.
|
List<List<SqlParameter>> |
getParameterSets()
The parameter set for the batch operation.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
|
String |
getSchema()
The name of the database schema.
|
String |
getSecretArn()
The name or ARN of the secret that enables access to the DB cluster.
|
String |
getSql()
The SQL statement to run.
|
String |
getTransactionId()
The identifier of a transaction that was started by using the
BeginTransaction operation. |
int |
hashCode() |
void |
setDatabase(String database)
The name of the database.
|
void |
setParameterSets(Collection<List<SqlParameter>> parameterSets)
The parameter set for the batch operation.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
|
void |
setSchema(String schema)
The name of the database schema.
|
void |
setSecretArn(String secretArn)
The name or ARN of the secret that enables access to the DB cluster.
|
void |
setSql(String sql)
The SQL statement to run.
|
void |
setTransactionId(String transactionId)
The identifier of a transaction that was started by using the
BeginTransaction operation. |
String |
toString()
Returns a string representation of this object.
|
BatchExecuteStatementRequest |
withDatabase(String database)
The name of the database.
|
BatchExecuteStatementRequest |
withParameterSets(Collection<List<SqlParameter>> parameterSets)
The parameter set for the batch operation.
|
BatchExecuteStatementRequest |
withParameterSets(List<SqlParameter>... parameterSets)
The parameter set for the batch operation.
|
BatchExecuteStatementRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
|
BatchExecuteStatementRequest |
withSchema(String schema)
The name of the database schema.
|
BatchExecuteStatementRequest |
withSecretArn(String secretArn)
The name or ARN of the secret that enables access to the DB cluster.
|
BatchExecuteStatementRequest |
withSql(String sql)
The SQL statement to run.
|
BatchExecuteStatementRequest |
withTransactionId(String transactionId)
The identifier of a transaction that was started by using the
BeginTransaction operation. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDatabase(String database)
The name of the database.
database
- The name of the database.public String getDatabase()
The name of the database.
public BatchExecuteStatementRequest withDatabase(String database)
The name of the database.
database
- The name of the database.public List<List<SqlParameter>> getParameterSets()
The parameter set for the batch operation.
public void setParameterSets(Collection<List<SqlParameter>> parameterSets)
The parameter set for the batch operation.
parameterSets
- The parameter set for the batch operation.public BatchExecuteStatementRequest withParameterSets(List<SqlParameter>... parameterSets)
The parameter set for the batch operation.
NOTE: This method appends the values to the existing list (if any). Use
setParameterSets(java.util.Collection)
or withParameterSets(java.util.Collection)
if you want
to override the existing values.
parameterSets
- The parameter set for the batch operation.public BatchExecuteStatementRequest withParameterSets(Collection<List<SqlParameter>> parameterSets)
The parameter set for the batch operation.
parameterSets
- The parameter set for the batch operation.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
resourceArn
- The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.public String getResourceArn()
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
public BatchExecuteStatementRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
resourceArn
- The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.public void setSchema(String schema)
The name of the database schema.
schema
- The name of the database schema.public String getSchema()
The name of the database schema.
public BatchExecuteStatementRequest withSchema(String schema)
The name of the database schema.
schema
- The name of the database schema.public void setSecretArn(String secretArn)
The name or ARN of the secret that enables access to the DB cluster.
secretArn
- The name or ARN of the secret that enables access to the DB cluster.public String getSecretArn()
The name or ARN of the secret that enables access to the DB cluster.
public BatchExecuteStatementRequest withSecretArn(String secretArn)
The name or ARN of the secret that enables access to the DB cluster.
secretArn
- The name or ARN of the secret that enables access to the DB cluster.public void setSql(String sql)
The SQL statement to run.
sql
- The SQL statement to run.public String getSql()
The SQL statement to run.
public BatchExecuteStatementRequest withSql(String sql)
The SQL statement to run.
sql
- The SQL statement to run.public void setTransactionId(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.
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.
public String getTransactionId()
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 withTransactionId(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.
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.
public String toString()
toString
in class Object
Object.toString()
public BatchExecuteStatementRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.