public class IoTAnalyticsConfig extends Object
Constructor and Description |
---|
IoTAnalyticsConfig()
No args constructor for use in serialization
|
IoTAnalyticsConfig(String identifier,
String iotChannel,
String iotMsgIdPrefix,
Long batchSize,
Long batchIntervalMillis,
Long priority,
Long startSequenceNumber,
Boolean disabled) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Long |
getBatchIntervalMillis()
The time in milliseconds between the earliest un-uploaded message and the current time.
|
Long |
getBatchSize()
The maximum size of a batch to send to IoT Analytics.
|
Boolean |
getDisabled()
Enable or disable this export.
|
String |
getIdentifier()
A unique identifier to identify this individual upload stream.
|
String |
getIotChannel()
The name of the IoT Analytics Channel that this exporter should upload to.
|
String |
getIotMsgIdPrefix()
A string prefixed to each unique message id.
|
Long |
getPriority()
Priority for this upload stream.
|
Long |
getStartSequenceNumber()
The sequence number of the message to use as the starting message in the export.
|
int |
hashCode() |
void |
setBatchIntervalMillis(Long batchIntervalMillis)
The time in milliseconds between the earliest un-uploaded message and the current time.
|
void |
setBatchSize(Long batchSize)
The maximum size of a batch to send to IoT Analytics.
|
void |
setDisabled(Boolean disabled)
Enable or disable this export.
|
void |
setIdentifier(String identifier)
A unique identifier to identify this individual upload stream.
|
void |
setIotChannel(String iotChannel)
The name of the IoT Analytics Channel that this exporter should upload to.
|
void |
setIotMsgIdPrefix(String iotMsgIdPrefix)
A string prefixed to each unique message id.
|
void |
setPriority(Long priority)
Priority for this upload stream.
|
void |
setStartSequenceNumber(Long startSequenceNumber)
The sequence number of the message to use as the starting message in the export.
|
String |
toString() |
IoTAnalyticsConfig |
withBatchIntervalMillis(Long batchIntervalMillis) |
IoTAnalyticsConfig |
withBatchSize(Long batchSize) |
IoTAnalyticsConfig |
withDisabled(Boolean disabled) |
IoTAnalyticsConfig |
withIdentifier(String identifier) |
IoTAnalyticsConfig |
withIotChannel(String iotChannel) |
IoTAnalyticsConfig |
withIotMsgIdPrefix(String iotMsgIdPrefix) |
IoTAnalyticsConfig |
withPriority(Long priority) |
IoTAnalyticsConfig |
withStartSequenceNumber(Long startSequenceNumber) |
public IoTAnalyticsConfig()
public IoTAnalyticsConfig(String identifier, String iotChannel, String iotMsgIdPrefix, Long batchSize, Long batchIntervalMillis, Long priority, Long startSequenceNumber, Boolean disabled)
identifier
- iotChannel
- iotMsgIdPrefix
- startSequenceNumber
- disabled
- batchSize
- priority
- batchIntervalMillis
- public String getIdentifier()
public void setIdentifier(String identifier)
public IoTAnalyticsConfig withIdentifier(String identifier)
public String getIotChannel()
public void setIotChannel(String iotChannel)
public IoTAnalyticsConfig withIotChannel(String iotChannel)
public String getIotMsgIdPrefix()
public void setIotMsgIdPrefix(String iotMsgIdPrefix)
public IoTAnalyticsConfig withIotMsgIdPrefix(String iotMsgIdPrefix)
public Long getBatchSize()
public void setBatchSize(Long batchSize)
public IoTAnalyticsConfig withBatchSize(Long batchSize)
public Long getBatchIntervalMillis()
public void setBatchIntervalMillis(Long batchIntervalMillis)
public IoTAnalyticsConfig withBatchIntervalMillis(Long batchIntervalMillis)
public Long getPriority()
public void setPriority(Long priority)
public IoTAnalyticsConfig withPriority(Long priority)
public Long getStartSequenceNumber()
public void setStartSequenceNumber(Long startSequenceNumber)
public IoTAnalyticsConfig withStartSequenceNumber(Long startSequenceNumber)
public Boolean getDisabled()
public void setDisabled(Boolean disabled)
public IoTAnalyticsConfig withDisabled(Boolean disabled)