@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterizedStatement extends Object implements Serializable, Cloneable, StructuredPojo
Represents a PartiQL statement that uses parameters.
Constructor and Description |
---|
ParameterizedStatement() |
Modifier and Type | Method and Description |
---|---|
ParameterizedStatement |
clone() |
boolean |
equals(Object obj) |
List<AttributeValue> |
getParameters()
The parameter values.
|
String |
getReturnValuesOnConditionCheckFailure()
An optional parameter that returns the item attributes for a PartiQL
ParameterizedStatement
operation that failed a condition check. |
String |
getStatement()
A PartiQL statement that uses parameters.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setParameters(Collection<AttributeValue> parameters)
The parameter values.
|
void |
setReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL
ParameterizedStatement
operation that failed a condition check. |
void |
setStatement(String statement)
A PartiQL statement that uses parameters.
|
String |
toString()
Returns a string representation of this object.
|
ParameterizedStatement |
withParameters(AttributeValue... parameters)
The parameter values.
|
ParameterizedStatement |
withParameters(Collection<AttributeValue> parameters)
The parameter values.
|
ParameterizedStatement |
withReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL
ParameterizedStatement
operation that failed a condition check. |
ParameterizedStatement |
withReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL
ParameterizedStatement
operation that failed a condition check. |
ParameterizedStatement |
withStatement(String statement)
A PartiQL statement that uses parameters.
|
public void setStatement(String statement)
A PartiQL statement that uses parameters.
statement
- A PartiQL statement that uses parameters.public String getStatement()
A PartiQL statement that uses parameters.
public ParameterizedStatement withStatement(String statement)
A PartiQL statement that uses parameters.
statement
- A PartiQL statement that uses parameters.public List<AttributeValue> getParameters()
The parameter values.
public void setParameters(Collection<AttributeValue> parameters)
The parameter values.
parameters
- The parameter values.public ParameterizedStatement withParameters(AttributeValue... parameters)
The parameter values.
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
- The parameter values.public ParameterizedStatement withParameters(Collection<AttributeValue> parameters)
The parameter values.
parameters
- The parameter values.public void setReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL ParameterizedStatement
operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
returnValuesOnConditionCheckFailure
- An optional parameter that returns the item attributes for a PartiQL ParameterizedStatement
operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
ReturnValuesOnConditionCheckFailure
public String getReturnValuesOnConditionCheckFailure()
An optional parameter that returns the item attributes for a PartiQL ParameterizedStatement
operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
ParameterizedStatement
operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
ReturnValuesOnConditionCheckFailure
public ParameterizedStatement withReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL ParameterizedStatement
operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
returnValuesOnConditionCheckFailure
- An optional parameter that returns the item attributes for a PartiQL ParameterizedStatement
operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
ReturnValuesOnConditionCheckFailure
public ParameterizedStatement withReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL ParameterizedStatement
operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
returnValuesOnConditionCheckFailure
- An optional parameter that returns the item attributes for a PartiQL ParameterizedStatement
operation that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
ReturnValuesOnConditionCheckFailure
public String toString()
toString
in class Object
Object.toString()
public ParameterizedStatement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.