@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecordFormat extends Object implements Serializable, Cloneable, StructuredPojo
For a SQL-based Kinesis Data Analytics application, describes the record format and relevant mapping information that should be applied to schematize the records on the stream.
Constructor and Description |
---|
RecordFormat() |
Modifier and Type | Method and Description |
---|---|
RecordFormat |
clone() |
boolean |
equals(Object obj) |
MappingParameters |
getMappingParameters()
When you configure application input at the time of creating or updating an application, provides additional
mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some
delimiter) on the streaming source.
|
String |
getRecordFormatType()
The type of record format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMappingParameters(MappingParameters mappingParameters)
When you configure application input at the time of creating or updating an application, provides additional
mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some
delimiter) on the streaming source.
|
void |
setRecordFormatType(String recordFormatType)
The type of record format.
|
String |
toString()
Returns a string representation of this object.
|
RecordFormat |
withMappingParameters(MappingParameters mappingParameters)
When you configure application input at the time of creating or updating an application, provides additional
mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some
delimiter) on the streaming source.
|
RecordFormat |
withRecordFormatType(RecordFormatType recordFormatType)
The type of record format.
|
RecordFormat |
withRecordFormatType(String recordFormatType)
The type of record format.
|
public void setRecordFormatType(String recordFormatType)
The type of record format.
recordFormatType
- The type of record format.RecordFormatType
public String getRecordFormatType()
The type of record format.
RecordFormatType
public RecordFormat withRecordFormatType(String recordFormatType)
The type of record format.
recordFormatType
- The type of record format.RecordFormatType
public RecordFormat withRecordFormatType(RecordFormatType recordFormatType)
The type of record format.
recordFormatType
- The type of record format.RecordFormatType
public void setMappingParameters(MappingParameters mappingParameters)
When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
mappingParameters
- When you configure application input at the time of creating or updating an application, provides
additional mapping information specific to the record format (such as JSON, CSV, or record fields
delimited by some delimiter) on the streaming source.public MappingParameters getMappingParameters()
When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
public RecordFormat withMappingParameters(MappingParameters mappingParameters)
When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
mappingParameters
- When you configure application input at the time of creating or updating an application, provides
additional mapping information specific to the record format (such as JSON, CSV, or record fields
delimited by some delimiter) on the streaming source.public String toString()
toString
in class Object
Object.toString()
public RecordFormat clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.