@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResultSetMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ResultSetMetadata() |
Modifier and Type | Method and Description |
---|---|
ResultSetMetadata |
clone() |
boolean |
equals(Object obj) |
Long |
getColumnCount()
Number of columns
|
List<ColumnMetadata> |
getColumnMetadata()
List of columns and their types
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColumnCount(Long columnCount)
Number of columns
|
void |
setColumnMetadata(Collection<ColumnMetadata> columnMetadata)
List of columns and their types
|
String |
toString()
Returns a string representation of this object.
|
ResultSetMetadata |
withColumnCount(Long columnCount)
Number of columns
|
ResultSetMetadata |
withColumnMetadata(Collection<ColumnMetadata> columnMetadata)
List of columns and their types
|
ResultSetMetadata |
withColumnMetadata(ColumnMetadata... columnMetadata)
List of columns and their types
|
public void setColumnCount(Long columnCount)
columnCount
- Number of columnspublic Long getColumnCount()
public ResultSetMetadata withColumnCount(Long columnCount)
columnCount
- Number of columnspublic List<ColumnMetadata> getColumnMetadata()
public void setColumnMetadata(Collection<ColumnMetadata> columnMetadata)
columnMetadata
- List of columns and their typespublic ResultSetMetadata withColumnMetadata(ColumnMetadata... columnMetadata)
NOTE: This method appends the values to the existing list (if any). Use
setColumnMetadata(java.util.Collection)
or withColumnMetadata(java.util.Collection)
if you want
to override the existing values.
columnMetadata
- List of columns and their typespublic ResultSetMetadata withColumnMetadata(Collection<ColumnMetadata> columnMetadata)
columnMetadata
- List of columns and their typespublic String toString()
toString
in class Object
Object.toString()
public ResultSetMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.