@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchStatementRequest extends Object implements Serializable, Cloneable, StructuredPojo
A PartiQL batch statement request.
Constructor and Description |
---|
BatchStatementRequest() |
Modifier and Type | Method and Description |
---|---|
BatchStatementRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getConsistentRead()
The read consistency of the PartiQL batch request.
|
List<AttributeValue> |
getParameters()
The parameters associated with a PartiQL statement in the batch request.
|
String |
getReturnValuesOnConditionCheckFailure()
An optional parameter that returns the item attributes for a PartiQL batch request operation that failed a
condition check.
|
String |
getStatement()
A valid PartiQL statement.
|
int |
hashCode() |
Boolean |
isConsistentRead()
The read consistency of the PartiQL batch request.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConsistentRead(Boolean consistentRead)
The read consistency of the PartiQL batch request.
|
void |
setParameters(Collection<AttributeValue> parameters)
The parameters associated with a PartiQL statement in the batch request.
|
void |
setReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL batch request operation that failed a
condition check.
|
void |
setStatement(String statement)
A valid PartiQL statement.
|
String |
toString()
Returns a string representation of this object.
|
BatchStatementRequest |
withConsistentRead(Boolean consistentRead)
The read consistency of the PartiQL batch request.
|
BatchStatementRequest |
withParameters(AttributeValue... parameters)
The parameters associated with a PartiQL statement in the batch request.
|
BatchStatementRequest |
withParameters(Collection<AttributeValue> parameters)
The parameters associated with a PartiQL statement in the batch request.
|
BatchStatementRequest |
withReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL batch request operation that failed a
condition check.
|
BatchStatementRequest |
withReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL batch request operation that failed a
condition check.
|
BatchStatementRequest |
withStatement(String statement)
A valid PartiQL statement.
|
public void setStatement(String statement)
A valid PartiQL statement.
statement
- A valid PartiQL statement.public String getStatement()
A valid PartiQL statement.
public BatchStatementRequest withStatement(String statement)
A valid PartiQL statement.
statement
- A valid PartiQL statement.public List<AttributeValue> getParameters()
The parameters associated with a PartiQL statement in the batch request.
public void setParameters(Collection<AttributeValue> parameters)
The parameters associated with a PartiQL statement in the batch request.
parameters
- The parameters associated with a PartiQL statement in the batch request.public BatchStatementRequest withParameters(AttributeValue... parameters)
The parameters associated with a PartiQL statement in the batch 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
- The parameters associated with a PartiQL statement in the batch request.public BatchStatementRequest withParameters(Collection<AttributeValue> parameters)
The parameters associated with a PartiQL statement in the batch request.
parameters
- The parameters associated with a PartiQL statement in the batch request.public void setConsistentRead(Boolean consistentRead)
The read consistency of the PartiQL batch request.
consistentRead
- The read consistency of the PartiQL batch request.public Boolean getConsistentRead()
The read consistency of the PartiQL batch request.
public BatchStatementRequest withConsistentRead(Boolean consistentRead)
The read consistency of the PartiQL batch request.
consistentRead
- The read consistency of the PartiQL batch request.public Boolean isConsistentRead()
The read consistency of the PartiQL batch request.
public void setReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL batch request 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 batch request 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 batch request 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.
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 BatchStatementRequest withReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL batch request 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 batch request 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 BatchStatementRequest withReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL batch request 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 batch request 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 BatchStatementRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.