Class AvroDomainEventPublisher.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<AvroDomainEventPublisher>
org.apache.avro.specific.SpecificRecordBuilderBase<AvroDomainEventPublisher>
ch.admin.bit.jeap.domainevent.avro.AvroDomainEventPublisher.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<AvroDomainEventPublisher>
Enclosing class:
AvroDomainEventPublisher

public static class AvroDomainEventPublisher.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroDomainEventPublisher> implements org.apache.avro.data.RecordBuilder<AvroDomainEventPublisher>
RecordBuilder for AvroDomainEventPublisher instances.
  • Method Details

    • getSystem

      public String getSystem()
      Gets the value of the 'system' field.
      Returns:
      The value.
    • getOptionalSystem

      public Optional<String> getOptionalSystem()
      Gets the value of the 'system' field as an Optional
      Returns:
      The Optional<value>.
    • setSystem

      public AvroDomainEventPublisher.Builder setSystem(String value)
      Sets the value of the 'system' field.
      Parameters:
      value - The value of 'system'.
      Returns:
      This builder.
    • hasSystem

      public boolean hasSystem()
      Checks whether the 'system' field has been set.
      Returns:
      True if the 'system' field has been set, false otherwise.
    • clearSystem

      public AvroDomainEventPublisher.Builder clearSystem()
      Clears the value of the 'system' field.
      Returns:
      This builder.
    • getService

      public String getService()
      Gets the value of the 'service' field.
      Returns:
      The value.
    • getOptionalService

      public Optional<String> getOptionalService()
      Gets the value of the 'service' field as an Optional
      Returns:
      The Optional<value>.
    • setService

      public AvroDomainEventPublisher.Builder setService(String value)
      Sets the value of the 'service' field.
      Parameters:
      value - The value of 'service'.
      Returns:
      This builder.
    • hasService

      public boolean hasService()
      Checks whether the 'service' field has been set.
      Returns:
      True if the 'service' field has been set, false otherwise.
    • clearService

      public AvroDomainEventPublisher.Builder clearService()
      Clears the value of the 'service' field.
      Returns:
      This builder.
    • build

      public AvroDomainEventPublisher build()
      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<AvroDomainEventPublisher>