Package net.corda.data.deadletter
Class StateAndEventDeadLetterRecord.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class StateAndEventDeadLetterRecord.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for StateAndEventDeadLetterRecord instances.
-
-
Method Summary
Modifier and Type Method Description Instant
getTimestamp()
Gets the value of the 'timestamp' field. StateAndEventDeadLetterRecord.Builder
setTimestamp(Instant value)
Sets the value of the 'timestamp' field. Object
getKey()
Gets the value of the 'key' field. StateAndEventDeadLetterRecord.Builder
setKey(Object value)
Sets the value of the 'key' field. ByteBuffer
getState()
Gets the value of the 'state' field. StateAndEventDeadLetterRecord.Builder
setState(ByteBuffer value)
Sets the value of the 'state' field. Object
getEvent()
Gets the value of the 'event' field. StateAndEventDeadLetterRecord.Builder
setEvent(Object value)
Sets the value of the 'event' field. boolean
hasTimestamp()
Checks whether the 'timestamp' field has been set. StateAndEventDeadLetterRecord.Builder
clearTimestamp()
Clears the value of the 'timestamp' field. boolean
hasKey()
Checks whether the 'key' field has been set. StateAndEventDeadLetterRecord.Builder
clearKey()
Clears the value of the 'key' field. boolean
hasState()
Checks whether the 'state' field has been set. StateAndEventDeadLetterRecord.Builder
clearState()
Clears the value of the 'state' field. boolean
hasEvent()
Checks whether the 'event' field has been set. StateAndEventDeadLetterRecord.Builder
clearEvent()
Clears the value of the 'event' field. StateAndEventDeadLetterRecord
build()
-
-
Method Detail
-
getTimestamp
Instant getTimestamp()
Gets the value of the 'timestamp' field.
-
setTimestamp
StateAndEventDeadLetterRecord.Builder setTimestamp(Instant value)
Sets the value of the 'timestamp' field.
- Parameters:
value
- The value of 'timestamp'.
-
setKey
StateAndEventDeadLetterRecord.Builder setKey(Object value)
Sets the value of the 'key' field.
- Parameters:
value
- The value of 'key'.
-
getState
ByteBuffer getState()
Gets the value of the 'state' field.
-
setState
StateAndEventDeadLetterRecord.Builder setState(ByteBuffer value)
Sets the value of the 'state' field.
- Parameters:
value
- The value of 'state'.
-
setEvent
StateAndEventDeadLetterRecord.Builder setEvent(Object value)
Sets the value of the 'event' field.
- Parameters:
value
- The value of 'event'.
-
hasTimestamp
boolean hasTimestamp()
Checks whether the 'timestamp' field has been set.
-
clearTimestamp
StateAndEventDeadLetterRecord.Builder clearTimestamp()
Clears the value of the 'timestamp' field.
-
hasKey
boolean hasKey()
Checks whether the 'key' field has been set.
-
clearKey
StateAndEventDeadLetterRecord.Builder clearKey()
Clears the value of the 'key' field.
-
hasState
boolean hasState()
Checks whether the 'state' field has been set.
-
clearState
StateAndEventDeadLetterRecord.Builder clearState()
Clears the value of the 'state' field.
-
hasEvent
boolean hasEvent()
Checks whether the 'event' field has been set.
-
clearEvent
StateAndEventDeadLetterRecord.Builder clearEvent()
Clears the value of the 'event' field.
-
build
StateAndEventDeadLetterRecord build()
-
-
-
-