@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StructValue extends Object implements Serializable, Cloneable, StructuredPojo
A structure value 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 |
---|
StructValue() |
Modifier and Type | Method and Description |
---|---|
StructValue |
clone() |
boolean |
equals(Object obj) |
List<Value> |
getAttributes()
The attributes returned in the record.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Collection<Value> attributes)
The attributes returned in the record.
|
String |
toString()
Returns a string representation of this object.
|
StructValue |
withAttributes(Collection<Value> attributes)
The attributes returned in the record.
|
StructValue |
withAttributes(Value... attributes)
The attributes returned in the record.
|
public List<Value> getAttributes()
The attributes returned in the record.
public void setAttributes(Collection<Value> attributes)
The attributes returned in the record.
attributes
- The attributes returned in the record.public StructValue withAttributes(Value... attributes)
The attributes returned in the record.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- The attributes returned in the record.public StructValue withAttributes(Collection<Value> attributes)
The attributes returned in the record.
attributes
- The attributes returned in the record.public String toString()
toString
in class Object
Object.toString()
public StructValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.