@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnSchema extends Object implements Serializable, Cloneable, StructuredPojo
Metadata for a column.
Constructor and Description |
---|
ColumnSchema() |
Modifier and Type | Method and Description |
---|---|
ColumnSchema |
clone() |
boolean |
equals(Object obj) |
String |
getColumnName()
The name of a column.
|
List<String> |
getColumnTypes()
The data type of column.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColumnName(String columnName)
The name of a column.
|
void |
setColumnTypes(Collection<String> columnTypes)
The data type of column.
|
String |
toString()
Returns a string representation of this object.
|
ColumnSchema |
withColumnName(String columnName)
The name of a column.
|
ColumnSchema |
withColumnTypes(Collection<String> columnTypes)
The data type of column.
|
ColumnSchema |
withColumnTypes(ColumnType... columnTypes)
The data type of column.
|
ColumnSchema |
withColumnTypes(String... columnTypes)
The data type of column.
|
public void setColumnName(String columnName)
The name of a column.
columnName
- The name of a column.public String getColumnName()
The name of a column.
public ColumnSchema withColumnName(String columnName)
The name of a column.
columnName
- The name of a column.public List<String> getColumnTypes()
The data type of column.
ColumnType
public void setColumnTypes(Collection<String> columnTypes)
The data type of column.
columnTypes
- The data type of column.ColumnType
public ColumnSchema withColumnTypes(String... columnTypes)
The data type of column.
NOTE: This method appends the values to the existing list (if any). Use
setColumnTypes(java.util.Collection)
or withColumnTypes(java.util.Collection)
if you want to
override the existing values.
columnTypes
- The data type of column.ColumnType
public ColumnSchema withColumnTypes(Collection<String> columnTypes)
The data type of column.
columnTypes
- The data type of column.ColumnType
public ColumnSchema withColumnTypes(ColumnType... columnTypes)
The data type of column.
columnTypes
- The data type of column.ColumnType
public String toString()
toString
in class Object
Object.toString()
public ColumnSchema clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.