@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Record extends Object implements Serializable, Cloneable, StructuredPojo
A record returned by a call.
This data structure is only used with the deprecated ExecuteSql operation. Use the
BatchExecuteStatement or ExecuteStatement operation instead.
| Constructor and Description |
|---|
Record() |
| Modifier and Type | Method and Description |
|---|---|
Record |
clone() |
boolean |
equals(Object obj) |
List<Value> |
getValues()
The values returned in the record.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setValues(Collection<Value> values)
The values returned in the record.
|
String |
toString()
Returns a string representation of this object.
|
Record |
withValues(Collection<Value> values)
The values returned in the record.
|
Record |
withValues(Value... values)
The values returned in the record.
|
public List<Value> getValues()
The values returned in the record.
public void setValues(Collection<Value> values)
The values returned in the record.
values - The values returned in the record.public Record withValues(Value... values)
The values returned in the record.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - The values returned in the record.public Record withValues(Collection<Value> values)
The values returned in the record.
values - The values returned in the record.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.