@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DirectKafkaSource extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an Apache Kafka data store.
Constructor and Description |
---|
DirectKafkaSource() |
Modifier and Type | Method and Description |
---|---|
DirectKafkaSource |
clone() |
boolean |
equals(Object obj) |
StreamingDataPreviewOptions |
getDataPreviewOptions()
Specifies options related to data preview for viewing a sample of your data.
|
Boolean |
getDetectSchema()
Whether to automatically determine the schema from the incoming data.
|
String |
getName()
The name of the data store.
|
KafkaStreamingSourceOptions |
getStreamingOptions()
Specifies the streaming options.
|
Integer |
getWindowSize()
The amount of time to spend processing each micro batch.
|
int |
hashCode() |
Boolean |
isDetectSchema()
Whether to automatically determine the schema from the incoming data.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataPreviewOptions(StreamingDataPreviewOptions dataPreviewOptions)
Specifies options related to data preview for viewing a sample of your data.
|
void |
setDetectSchema(Boolean detectSchema)
Whether to automatically determine the schema from the incoming data.
|
void |
setName(String name)
The name of the data store.
|
void |
setStreamingOptions(KafkaStreamingSourceOptions streamingOptions)
Specifies the streaming options.
|
void |
setWindowSize(Integer windowSize)
The amount of time to spend processing each micro batch.
|
String |
toString()
Returns a string representation of this object.
|
DirectKafkaSource |
withDataPreviewOptions(StreamingDataPreviewOptions dataPreviewOptions)
Specifies options related to data preview for viewing a sample of your data.
|
DirectKafkaSource |
withDetectSchema(Boolean detectSchema)
Whether to automatically determine the schema from the incoming data.
|
DirectKafkaSource |
withName(String name)
The name of the data store.
|
DirectKafkaSource |
withStreamingOptions(KafkaStreamingSourceOptions streamingOptions)
Specifies the streaming options.
|
DirectKafkaSource |
withWindowSize(Integer windowSize)
The amount of time to spend processing each micro batch.
|
public void setName(String name)
The name of the data store.
name
- The name of the data store.public String getName()
The name of the data store.
public DirectKafkaSource withName(String name)
The name of the data store.
name
- The name of the data store.public void setStreamingOptions(KafkaStreamingSourceOptions streamingOptions)
Specifies the streaming options.
streamingOptions
- Specifies the streaming options.public KafkaStreamingSourceOptions getStreamingOptions()
Specifies the streaming options.
public DirectKafkaSource withStreamingOptions(KafkaStreamingSourceOptions streamingOptions)
Specifies the streaming options.
streamingOptions
- Specifies the streaming options.public void setWindowSize(Integer windowSize)
The amount of time to spend processing each micro batch.
windowSize
- The amount of time to spend processing each micro batch.public Integer getWindowSize()
The amount of time to spend processing each micro batch.
public DirectKafkaSource withWindowSize(Integer windowSize)
The amount of time to spend processing each micro batch.
windowSize
- The amount of time to spend processing each micro batch.public void setDetectSchema(Boolean detectSchema)
Whether to automatically determine the schema from the incoming data.
detectSchema
- Whether to automatically determine the schema from the incoming data.public Boolean getDetectSchema()
Whether to automatically determine the schema from the incoming data.
public DirectKafkaSource withDetectSchema(Boolean detectSchema)
Whether to automatically determine the schema from the incoming data.
detectSchema
- Whether to automatically determine the schema from the incoming data.public Boolean isDetectSchema()
Whether to automatically determine the schema from the incoming data.
public void setDataPreviewOptions(StreamingDataPreviewOptions dataPreviewOptions)
Specifies options related to data preview for viewing a sample of your data.
dataPreviewOptions
- Specifies options related to data preview for viewing a sample of your data.public StreamingDataPreviewOptions getDataPreviewOptions()
Specifies options related to data preview for viewing a sample of your data.
public DirectKafkaSource withDataPreviewOptions(StreamingDataPreviewOptions dataPreviewOptions)
Specifies options related to data preview for viewing a sample of your data.
dataPreviewOptions
- Specifies options related to data preview for viewing a sample of your data.public String toString()
toString
in class Object
Object.toString()
public DirectKafkaSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.