@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterizedStatement extends Object implements Serializable, Cloneable, StructuredPojo
Represents a PartiQL statment 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 |
getStatement()
A PartiQL statment that uses parameters.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setParameters(Collection<AttributeValue> parameters)
The parameter values.
|
void |
setStatement(String statement)
A PartiQL statment 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 |
withStatement(String statement)
A PartiQL statment that uses parameters.
|
public void setStatement(String statement)
A PartiQL statment that uses parameters.
statement
- A PartiQL statment that uses parameters.public String getStatement()
A PartiQL statment that uses parameters.
public ParameterizedStatement withStatement(String statement)
A PartiQL statment that uses parameters.
statement
- A PartiQL statment 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 String toString()
toString
in class Object
Object.toString()
public ParameterizedStatement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.