@Generated(value="software.amazon.awssdk:codegen") public final class ParameterizedStatement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParameterizedStatement.Builder,ParameterizedStatement>
Represents a PartiQL statment that uses parameters.
Modifier and Type | Class and Description |
---|---|
static interface |
ParameterizedStatement.Builder |
Modifier and Type | Method and Description |
---|---|
static ParameterizedStatement.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasParameters()
Returns true if the Parameters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<AttributeValue> |
parameters()
The parameter values.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ParameterizedStatement.Builder> |
serializableBuilderClass() |
String |
statement()
A PartiQL statment that uses parameters.
|
ParameterizedStatement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String statement()
A PartiQL statment that uses parameters.
public final boolean hasParameters()
public final List<AttributeValue> parameters()
The parameter values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParameters()
to see if a value was sent in this field.
public ParameterizedStatement.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ParameterizedStatement.Builder,ParameterizedStatement>
public static ParameterizedStatement.Builder builder()
public static Class<? extends ParameterizedStatement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.