@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 |
getStatement()
A valid PartiQL statement.
|
int |
hashCode() |
Boolean |
isConsistentRead()
The read consistency of the PartiQL batch request.
|
void |
marshall(ProtocolMarshaller 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 |
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 |
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 String toString()
toString
in class Object
Object.toString()
public BatchStatementRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.