@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Column extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata for a column in a table.
Constructor and Description |
---|
Column() |
Modifier and Type | Method and Description |
---|---|
Column |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
Optional information about the column.
|
String |
getName()
The name of the column.
|
String |
getType()
The data type of the column.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComment(String comment)
Optional information about the column.
|
void |
setName(String name)
The name of the column.
|
void |
setType(String type)
The data type of the column.
|
String |
toString()
Returns a string representation of this object.
|
Column |
withComment(String comment)
Optional information about the column.
|
Column |
withName(String name)
The name of the column.
|
Column |
withType(String type)
The data type of the column.
|
public void setName(String name)
The name of the column.
name
- The name of the column.public String getName()
The name of the column.
public Column withName(String name)
The name of the column.
name
- The name of the column.public void setType(String type)
The data type of the column.
type
- The data type of the column.public String getType()
The data type of the column.
public Column withType(String type)
The data type of the column.
type
- The data type of the column.public void setComment(String comment)
Optional information about the column.
comment
- Optional information about the column.public String getComment()
Optional information about the column.
public Column withComment(String comment)
Optional information about the column.
comment
- Optional information about the column.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.