@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The names and data types of regular columns.
Constructor and Description |
---|
ColumnDefinition() |
Modifier and Type | Method and Description |
---|---|
ColumnDefinition |
clone() |
boolean |
equals(Object obj) |
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 |
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.
|
ColumnDefinition |
withName(String name)
The name of the column.
|
ColumnDefinition |
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 ColumnDefinition 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. For a list of available data types, see Data types in the Amazon Keyspaces Developer Guide.
type
- The data type of the column. For a list of available data types, see Data
types in the Amazon Keyspaces Developer Guide.public String getType()
The data type of the column. For a list of available data types, see Data types in the Amazon Keyspaces Developer Guide.
public ColumnDefinition withType(String type)
The data type of the column. For a list of available data types, see Data types in the Amazon Keyspaces Developer Guide.
type
- The data type of the column. For a list of available data types, see Data
types in the Amazon Keyspaces Developer Guide.public String toString()
toString
in class Object
Object.toString()
public ColumnDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.