@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamingDataPreviewOptions extends Object implements Serializable, Cloneable, StructuredPojo
Specifies options related to data preview for viewing a sample of your data.
Constructor and Description |
---|
StreamingDataPreviewOptions() |
Modifier and Type | Method and Description |
---|---|
StreamingDataPreviewOptions |
clone() |
boolean |
equals(Object obj) |
Long |
getPollingTime()
The polling time in milliseconds.
|
Long |
getRecordPollingLimit()
The limit to the number of records polled.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPollingTime(Long pollingTime)
The polling time in milliseconds.
|
void |
setRecordPollingLimit(Long recordPollingLimit)
The limit to the number of records polled.
|
String |
toString()
Returns a string representation of this object.
|
StreamingDataPreviewOptions |
withPollingTime(Long pollingTime)
The polling time in milliseconds.
|
StreamingDataPreviewOptions |
withRecordPollingLimit(Long recordPollingLimit)
The limit to the number of records polled.
|
public void setPollingTime(Long pollingTime)
The polling time in milliseconds.
pollingTime
- The polling time in milliseconds.public Long getPollingTime()
The polling time in milliseconds.
public StreamingDataPreviewOptions withPollingTime(Long pollingTime)
The polling time in milliseconds.
pollingTime
- The polling time in milliseconds.public void setRecordPollingLimit(Long recordPollingLimit)
The limit to the number of records polled.
recordPollingLimit
- The limit to the number of records polled.public Long getRecordPollingLimit()
The limit to the number of records polled.
public StreamingDataPreviewOptions withRecordPollingLimit(Long recordPollingLimit)
The limit to the number of records polled.
recordPollingLimit
- The limit to the number of records polled.public String toString()
toString
in class Object
Object.toString()
public StreamingDataPreviewOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.