@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecordColumn extends Object implements Serializable, Cloneable, StructuredPojo
For a SQL-based Kinesis Data Analytics application, describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
Also used to describe the format of the reference data source.
| Constructor and Description |
|---|
RecordColumn() |
| Modifier and Type | Method and Description |
|---|---|
RecordColumn |
clone() |
boolean |
equals(Object obj) |
String |
getMapping()
A reference to the data element in the streaming input or the reference data source.
|
String |
getName()
The name of the column that is created in the in-application input stream or reference table.
|
String |
getSqlType()
The type of column created in the in-application input stream or reference table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMapping(String mapping)
A reference to the data element in the streaming input or the reference data source.
|
void |
setName(String name)
The name of the column that is created in the in-application input stream or reference table.
|
void |
setSqlType(String sqlType)
The type of column created in the in-application input stream or reference table.
|
String |
toString()
Returns a string representation of this object.
|
RecordColumn |
withMapping(String mapping)
A reference to the data element in the streaming input or the reference data source.
|
RecordColumn |
withName(String name)
The name of the column that is created in the in-application input stream or reference table.
|
RecordColumn |
withSqlType(String sqlType)
The type of column created in the in-application input stream or reference table.
|
public void setName(String name)
The name of the column that is created in the in-application input stream or reference table.
name - The name of the column that is created in the in-application input stream or reference table.public String getName()
The name of the column that is created in the in-application input stream or reference table.
public RecordColumn withName(String name)
The name of the column that is created in the in-application input stream or reference table.
name - The name of the column that is created in the in-application input stream or reference table.public void setMapping(String mapping)
A reference to the data element in the streaming input or the reference data source.
mapping - A reference to the data element in the streaming input or the reference data source.public String getMapping()
A reference to the data element in the streaming input or the reference data source.
public RecordColumn withMapping(String mapping)
A reference to the data element in the streaming input or the reference data source.
mapping - A reference to the data element in the streaming input or the reference data source.public void setSqlType(String sqlType)
The type of column created in the in-application input stream or reference table.
sqlType - The type of column created in the in-application input stream or reference table.public String getSqlType()
The type of column created in the in-application input stream or reference table.
public RecordColumn withSqlType(String sqlType)
The type of column created in the in-application input stream or reference table.
sqlType - The type of column created in the in-application input stream or reference table.public String toString()
toString in class ObjectObject.toString()public RecordColumn clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.