public static class DeadLetterSchema.Builder extends Object
DeadLetterSchema
.
All configurable columns default to their respective field name. Thus, the result of the
DeadLetterSchema.diagnosticsColumn()
defaults to diagnosticsColumn
, etc.
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DeadLetterSchema.Builder |
aggregateIdentifierColumn(String aggregateIdentifierColumn)
Sets the name of the
aggregateIdentifier column. |
DeadLetterSchema.Builder |
aggregateTypeColumn(String aggregateTypeColumn)
Sets the name of the
aggregateType column. |
DeadLetterSchema |
build()
Initializes a
DeadLetterSchema as specified through this Builder. |
DeadLetterSchema.Builder |
causeMessageColumn(String causeMessageColumn)
Sets the name of the
causeMessage column. |
DeadLetterSchema.Builder |
causeTypeColumn(String causeTypeColumn)
Sets the name of the
causeType column. |
DeadLetterSchema.Builder |
deadLetterIdentifierColumn(String deadLetterIdentifierColumn)
Sets the name of the
deadLetterIdentifier column. |
DeadLetterSchema.Builder |
deadLetterTable(String deadLetterTable)
Sets the name of the dead-letter table.
|
DeadLetterSchema.Builder |
diagnosticsColumn(String diagnosticsColumn)
Sets the name of the
diagnostics column. |
DeadLetterSchema.Builder |
enqueuedAtColumn(String enqueuedAtColumn)
Sets the name of the
enqueuedAt column. |
DeadLetterSchema.Builder |
eventIdentifierColumn(String eventIdentifierColumn)
Sets the name of the
eventIdentifier column. |
DeadLetterSchema.Builder |
lastTouchedColumn(String lastTouchedColumn)
Sets the name of the
lastTouched column. |
DeadLetterSchema.Builder |
messageTypeColumn(String messageTypeColumn)
Sets the name of the
messageType column. |
DeadLetterSchema.Builder |
metaDataColumn(String metaDataColumn)
Sets the name of the
metaData column. |
DeadLetterSchema.Builder |
payloadColumn(String payloadColumn)
Sets the name of the
payload column. |
DeadLetterSchema.Builder |
payloadRevisionColumn(String payloadRevisionColumn)
Sets the name of the
payloadRevision column. |
DeadLetterSchema.Builder |
payloadTypeColumn(String payloadTypeColumn)
Sets the name of the
payloadType column. |
DeadLetterSchema.Builder |
processingGroupColumn(String processingGroupColumn)
Sets the name of the
processingGroup column. |
DeadLetterSchema.Builder |
processingStartedColumn(String processingStartedColumn)
Sets the name of the
processingStarted column. |
DeadLetterSchema.Builder |
sequenceIdentifierColumn(String sequenceIdentifierColumn)
Sets the name of the
sequenceIdentifier column. |
DeadLetterSchema.Builder |
sequenceIndexColumn(String sequenceIndexColumn)
Sets the name of the
sequenceIndex column. |
DeadLetterSchema.Builder |
sequenceNumberColumn(String sequenceNumberColumn)
Sets the name of the
sequenceNumber column. |
DeadLetterSchema.Builder |
timestampColumn(String timestampColumn)
Sets the name of the
timestamp column. |
DeadLetterSchema.Builder |
tokenColumn(String tokenColumn)
Sets the name of the
token column. |
DeadLetterSchema.Builder |
tokenTypeColumn(String tokenTypeColumn)
Sets the name of the
tokenType column. |
public DeadLetterSchema.Builder deadLetterTable(String deadLetterTable)
DeadLetterEntry
.deadLetterTable
- The name for the dead-letter table.public DeadLetterSchema.Builder deadLetterIdentifierColumn(String deadLetterIdentifierColumn)
deadLetterIdentifier
column. Defaults to deadLetterIdentifier
.deadLetterIdentifierColumn
- The name for the deadLetterIdentifier
column.public DeadLetterSchema.Builder processingGroupColumn(String processingGroupColumn)
processingGroup
column. Defaults to processingGroup
.processingGroupColumn
- The name for the processingGroup
column.public DeadLetterSchema.Builder sequenceIdentifierColumn(String sequenceIdentifierColumn)
sequenceIdentifier
column. Defaults to sequenceIdentifier
.sequenceIdentifierColumn
- The name for the sequenceIdentifier
column.public DeadLetterSchema.Builder sequenceIndexColumn(String sequenceIndexColumn)
sequenceIndex
column. Defaults to sequenceIndex
.sequenceIndexColumn
- The name for the sequenceIndex
column.public DeadLetterSchema.Builder messageTypeColumn(String messageTypeColumn)
messageType
column. Defaults to messageType
.messageTypeColumn
- The name for the messageType
column.public DeadLetterSchema.Builder eventIdentifierColumn(String eventIdentifierColumn)
eventIdentifier
column. Defaults to eventIdentifier
.eventIdentifierColumn
- The name for the eventIdentifier
column.public DeadLetterSchema.Builder timestampColumn(String timestampColumn)
timestamp
column. Defaults to timestamp
.timestampColumn
- The name for the timeStamp
column.public DeadLetterSchema.Builder payloadTypeColumn(String payloadTypeColumn)
payloadType
column. Defaults to payloadType
.payloadTypeColumn
- The name for the payloadType
column.public DeadLetterSchema.Builder payloadRevisionColumn(String payloadRevisionColumn)
payloadRevision
column. Defaults to payloadRevision
.payloadRevisionColumn
- The name for the payloadRevision
column.public DeadLetterSchema.Builder payloadColumn(String payloadColumn)
payload
column. Defaults to payload
.payloadColumn
- The name for the payload
column.public DeadLetterSchema.Builder metaDataColumn(String metaDataColumn)
metaData
column. Defaults to metaData
.metaDataColumn
- The name for the metaData
column.public DeadLetterSchema.Builder aggregateTypeColumn(String aggregateTypeColumn)
aggregateType
column. Defaults to type
.aggregateTypeColumn
- The name for the aggregateType
column.public DeadLetterSchema.Builder aggregateIdentifierColumn(String aggregateIdentifierColumn)
aggregateIdentifier
column. Defaults to aggregateIdentifier
.aggregateIdentifierColumn
- The name for the aggregateIdentifier
column.public DeadLetterSchema.Builder sequenceNumberColumn(String sequenceNumberColumn)
sequenceNumber
column. Defaults to sequenceNumber
.sequenceNumberColumn
- The name for the sequenceNumber
column.public DeadLetterSchema.Builder tokenTypeColumn(String tokenTypeColumn)
tokenType
column. Defaults to tokenType
.tokenTypeColumn
- The name for the tokenType
column.public DeadLetterSchema.Builder tokenColumn(String tokenColumn)
token
column. Defaults to token
.tokenColumn
- The name for the token
column.public DeadLetterSchema.Builder enqueuedAtColumn(String enqueuedAtColumn)
enqueuedAt
column. Defaults to enqueuedAt
.enqueuedAtColumn
- The name for the enqueuedAt
column.public DeadLetterSchema.Builder lastTouchedColumn(String lastTouchedColumn)
lastTouched
column. Defaults to lastTouched
.lastTouchedColumn
- The name for the lastTouched
column.public DeadLetterSchema.Builder processingStartedColumn(String processingStartedColumn)
processingStarted
column. Defaults to processingStarted
.processingStartedColumn
- The name for the processingStarted
column.public DeadLetterSchema.Builder causeTypeColumn(String causeTypeColumn)
causeType
column. Defaults to causeType
.causeTypeColumn
- The name for the causeType
column.public DeadLetterSchema.Builder causeMessageColumn(String causeMessageColumn)
causeMessage
column. Defaults to causeMessage
.causeMessageColumn
- The name for the causeMessage
column.public DeadLetterSchema.Builder diagnosticsColumn(String diagnosticsColumn)
diagnostics
column. Defaults to diagnostics
.diagnosticsColumn
- The name for the diagnostics
column.public DeadLetterSchema build()
DeadLetterSchema
as specified through this Builder.DeadLetterSchema
as specified through this Builder.Copyright © 2010–2024. All rights reserved.