public class HTTPConfig extends Object
Constructor and Description |
---|
HTTPConfig()
No args constructor for use in serialization
|
HTTPConfig(String identifier,
String uri,
Long batchSize,
Long batchIntervalMillis,
Long priority,
Long startSequenceNumber,
Boolean disabled,
ExportFormat exportFormat) |
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 the destination.
|
Boolean |
getDisabled()
Enable or disable this export.
|
ExportFormat |
getExportFormat()
ExportFormat is used to define how messages are batched and formatted in the export payload.
|
String |
getIdentifier()
A unique identifier to identify this individual upload stream.
|
Long |
getPriority()
Priority for this upload stream.
|
Long |
getStartSequenceNumber()
The sequence number of the message to use as the starting message in the export.
|
String |
getUri()
URL for HTTP endpoint which should receive the POST requests for 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 the destination.
|
void |
setDisabled(Boolean disabled)
Enable or disable this export.
|
void |
setExportFormat(ExportFormat exportFormat)
ExportFormat is used to define how messages are batched and formatted in the export payload.
|
void |
setIdentifier(String identifier)
A unique identifier to identify this individual upload stream.
|
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.
|
void |
setUri(String uri)
URL for HTTP endpoint which should receive the POST requests for export.
|
String |
toString() |
HTTPConfig |
withBatchIntervalMillis(Long batchIntervalMillis) |
HTTPConfig |
withBatchSize(Long batchSize) |
HTTPConfig |
withDisabled(Boolean disabled) |
HTTPConfig |
withExportFormat(ExportFormat exportFormat) |
HTTPConfig |
withIdentifier(String identifier) |
HTTPConfig |
withPriority(Long priority) |
HTTPConfig |
withStartSequenceNumber(Long startSequenceNumber) |
HTTPConfig |
withUri(String uri) |
public HTTPConfig()
public HTTPConfig(String identifier, String uri, Long batchSize, Long batchIntervalMillis, Long priority, Long startSequenceNumber, Boolean disabled, ExportFormat exportFormat)
identifier
- startSequenceNumber
- disabled
- batchSize
- priority
- uri
- batchIntervalMillis
- exportFormat
- public String getIdentifier()
public void setIdentifier(String identifier)
public HTTPConfig withIdentifier(String identifier)
public String getUri()
public void setUri(String uri)
public HTTPConfig withUri(String uri)
public Long getBatchSize()
public void setBatchSize(Long batchSize)
public HTTPConfig withBatchSize(Long batchSize)
public Long getBatchIntervalMillis()
public void setBatchIntervalMillis(Long batchIntervalMillis)
public HTTPConfig withBatchIntervalMillis(Long batchIntervalMillis)
public Long getPriority()
public void setPriority(Long priority)
public HTTPConfig withPriority(Long priority)
public Long getStartSequenceNumber()
public void setStartSequenceNumber(Long startSequenceNumber)
public HTTPConfig withStartSequenceNumber(Long startSequenceNumber)
public Boolean getDisabled()
public void setDisabled(Boolean disabled)
public HTTPConfig withDisabled(Boolean disabled)
public ExportFormat getExportFormat()
public void setExportFormat(ExportFormat exportFormat)
public HTTPConfig withExportFormat(ExportFormat exportFormat)