@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteStatementRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a request to execute a statement.
| Constructor and Description |
|---|
ExecuteStatementRequest() |
| Modifier and Type | Method and Description |
|---|---|
ExecuteStatementRequest |
clone() |
boolean |
equals(Object obj) |
List<ValueHolder> |
getParameters()
Specifies the parameters for the parameterized statement in the request.
|
String |
getStatement()
Specifies the statement of the request.
|
String |
getTransactionId()
Specifies the transaction ID of the request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setParameters(Collection<ValueHolder> parameters)
Specifies the parameters for the parameterized statement in the request.
|
void |
setStatement(String statement)
Specifies the statement of the request.
|
void |
setTransactionId(String transactionId)
Specifies the transaction ID of the request.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteStatementRequest |
withParameters(Collection<ValueHolder> parameters)
Specifies the parameters for the parameterized statement in the request.
|
ExecuteStatementRequest |
withParameters(ValueHolder... parameters)
Specifies the parameters for the parameterized statement in the request.
|
ExecuteStatementRequest |
withStatement(String statement)
Specifies the statement of the request.
|
ExecuteStatementRequest |
withTransactionId(String transactionId)
Specifies the transaction ID of the request.
|
public void setTransactionId(String transactionId)
Specifies the transaction ID of the request.
transactionId - Specifies the transaction ID of the request.public String getTransactionId()
Specifies the transaction ID of the request.
public ExecuteStatementRequest withTransactionId(String transactionId)
Specifies the transaction ID of the request.
transactionId - Specifies the transaction ID of the request.public void setStatement(String statement)
Specifies the statement of the request.
statement - Specifies the statement of the request.public String getStatement()
Specifies the statement of the request.
public ExecuteStatementRequest withStatement(String statement)
Specifies the statement of the request.
statement - Specifies the statement of the request.public List<ValueHolder> getParameters()
Specifies the parameters for the parameterized statement in the request.
public void setParameters(Collection<ValueHolder> parameters)
Specifies the parameters for the parameterized statement in the request.
parameters - Specifies the parameters for the parameterized statement in the request.public ExecuteStatementRequest withParameters(ValueHolder... parameters)
Specifies the parameters for the parameterized statement in the request.
NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection) or withParameters(java.util.Collection) if you want to
override the existing values.
parameters - Specifies the parameters for the parameterized statement in the request.public ExecuteStatementRequest withParameters(Collection<ValueHolder> parameters)
Specifies the parameters for the parameterized statement in the request.
parameters - Specifies the parameters for the parameterized statement in the request.public String toString()
toString in class ObjectObject.toString()public ExecuteStatementRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.