Class EventProcessingFailedEvent.Builder

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

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

    • getIdentity

      public ch.admin.bit.jeap.domainevent.avro.AvroDomainEventIdentity getIdentity()
      Gets the value of the 'identity' field.
      Returns:
      The value.
    • getOptionalIdentity

      public Optional<ch.admin.bit.jeap.domainevent.avro.AvroDomainEventIdentity> getOptionalIdentity()
      Gets the value of the 'identity' field as an Optional
      Returns:
      The Optional<value>.
    • setIdentity

      public EventProcessingFailedEvent.Builder setIdentity(ch.admin.bit.jeap.domainevent.avro.AvroDomainEventIdentity value)
      Sets the value of the 'identity' field.
      Parameters:
      value - The value of 'identity'.
      Returns:
      This builder.
    • hasIdentity

      public boolean hasIdentity()
      Checks whether the 'identity' field has been set.
      Returns:
      True if the 'identity' field has been set, false otherwise.
    • getIdentityBuilder

      public ch.admin.bit.jeap.domainevent.avro.AvroDomainEventIdentity.Builder getIdentityBuilder()
      Gets the Builder instance for the 'identity' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setIdentityBuilder

      public EventProcessingFailedEvent.Builder setIdentityBuilder(ch.admin.bit.jeap.domainevent.avro.AvroDomainEventIdentity.Builder value)
      Sets the Builder instance for the 'identity' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasIdentityBuilder

      public boolean hasIdentityBuilder()
      Checks whether the 'identity' field has an active Builder instance
      Returns:
      True if the 'identity' field has an active Builder instance
    • clearIdentity

      public EventProcessingFailedEvent.Builder clearIdentity()
      Clears the value of the 'identity' field.
      Returns:
      This builder.
    • getType

      public ch.admin.bit.jeap.domainevent.avro.AvroDomainEventType getType()
      Gets the value of the 'type' field.
      Returns:
      The value.
    • getOptionalType

      public Optional<ch.admin.bit.jeap.domainevent.avro.AvroDomainEventType> getOptionalType()
      Gets the value of the 'type' field as an Optional
      Returns:
      The Optional<value>.
    • setType

      public EventProcessingFailedEvent.Builder setType(ch.admin.bit.jeap.domainevent.avro.AvroDomainEventType value)
      Sets the value of the 'type' field.
      Parameters:
      value - The value of 'type'.
      Returns:
      This builder.
    • hasType

      public boolean hasType()
      Checks whether the 'type' field has been set.
      Returns:
      True if the 'type' field has been set, false otherwise.
    • getTypeBuilder

      public ch.admin.bit.jeap.domainevent.avro.AvroDomainEventType.Builder getTypeBuilder()
      Gets the Builder instance for the 'type' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setTypeBuilder

      public EventProcessingFailedEvent.Builder setTypeBuilder(ch.admin.bit.jeap.domainevent.avro.AvroDomainEventType.Builder value)
      Sets the Builder instance for the 'type' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasTypeBuilder

      public boolean hasTypeBuilder()
      Checks whether the 'type' field has an active Builder instance
      Returns:
      True if the 'type' field has an active Builder instance
    • clearType

      Clears the value of the 'type' field.
      Returns:
      This builder.
    • getPublisher

      public ch.admin.bit.jeap.domainevent.avro.AvroDomainEventPublisher getPublisher()
      Gets the value of the 'publisher' field.
      Returns:
      The value.
    • getOptionalPublisher

      public Optional<ch.admin.bit.jeap.domainevent.avro.AvroDomainEventPublisher> getOptionalPublisher()
      Gets the value of the 'publisher' field as an Optional
      Returns:
      The Optional<value>.
    • setPublisher

      public EventProcessingFailedEvent.Builder setPublisher(ch.admin.bit.jeap.domainevent.avro.AvroDomainEventPublisher value)
      Sets the value of the 'publisher' field.
      Parameters:
      value - The value of 'publisher'.
      Returns:
      This builder.
    • hasPublisher

      public boolean hasPublisher()
      Checks whether the 'publisher' field has been set.
      Returns:
      True if the 'publisher' field has been set, false otherwise.
    • getPublisherBuilder

      public ch.admin.bit.jeap.domainevent.avro.AvroDomainEventPublisher.Builder getPublisherBuilder()
      Gets the Builder instance for the 'publisher' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setPublisherBuilder

      public EventProcessingFailedEvent.Builder setPublisherBuilder(ch.admin.bit.jeap.domainevent.avro.AvroDomainEventPublisher.Builder value)
      Sets the Builder instance for the 'publisher' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasPublisherBuilder

      public boolean hasPublisherBuilder()
      Checks whether the 'publisher' field has an active Builder instance
      Returns:
      True if the 'publisher' field has an active Builder instance
    • clearPublisher

      public EventProcessingFailedEvent.Builder clearPublisher()
      Clears the value of the 'publisher' field.
      Returns:
      This builder.
    • getReferences

      public EventProcessingFailedReferences getReferences()
      Gets the value of the 'references' field.
      Returns:
      The value.
    • getOptionalReferences

      public Optional<EventProcessingFailedReferences> getOptionalReferences()
      Gets the value of the 'references' field as an Optional
      Returns:
      The Optional<value>.
    • setReferences

      Sets the value of the 'references' field.
      Parameters:
      value - The value of 'references'.
      Returns:
      This builder.
    • hasReferences

      public boolean hasReferences()
      Checks whether the 'references' field has been set.
      Returns:
      True if the 'references' field has been set, false otherwise.
    • getReferencesBuilder

      public EventProcessingFailedReferences.Builder getReferencesBuilder()
      Gets the Builder instance for the 'references' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setReferencesBuilder

      Sets the Builder instance for the 'references' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasReferencesBuilder

      public boolean hasReferencesBuilder()
      Checks whether the 'references' field has an active Builder instance
      Returns:
      True if the 'references' field has an active Builder instance
    • clearReferences

      public EventProcessingFailedEvent.Builder clearReferences()
      Clears the value of the 'references' field.
      Returns:
      This builder.
    • getPayload

      public EventProcessingFailedPayload getPayload()
      Gets the value of the 'payload' field.
      Returns:
      The value.
    • getOptionalPayload

      public Optional<EventProcessingFailedPayload> getOptionalPayload()
      Gets the value of the 'payload' field as an Optional
      Returns:
      The Optional<value>.
    • setPayload

      Sets the value of the 'payload' field.
      Parameters:
      value - The value of 'payload'.
      Returns:
      This builder.
    • hasPayload

      public boolean hasPayload()
      Checks whether the 'payload' field has been set.
      Returns:
      True if the 'payload' field has been set, false otherwise.
    • getPayloadBuilder

      public EventProcessingFailedPayload.Builder getPayloadBuilder()
      Gets the Builder instance for the 'payload' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setPayloadBuilder

      Sets the Builder instance for the 'payload' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasPayloadBuilder

      public boolean hasPayloadBuilder()
      Checks whether the 'payload' field has an active Builder instance
      Returns:
      True if the 'payload' field has an active Builder instance
    • clearPayload

      public EventProcessingFailedEvent.Builder clearPayload()
      Clears the value of the 'payload' field.
      Returns:
      This builder.
    • getProcessId

      public String getProcessId()
      Gets the value of the 'processId' field.
      Returns:
      The value.
    • getOptionalProcessId

      public Optional<String> getOptionalProcessId()
      Gets the value of the 'processId' field as an Optional
      Returns:
      The Optional<value>.
    • setProcessId

      public EventProcessingFailedEvent.Builder setProcessId(String value)
      Sets the value of the 'processId' field.
      Parameters:
      value - The value of 'processId'.
      Returns:
      This builder.
    • hasProcessId

      public boolean hasProcessId()
      Checks whether the 'processId' field has been set.
      Returns:
      True if the 'processId' field has been set, false otherwise.
    • clearProcessId

      public EventProcessingFailedEvent.Builder clearProcessId()
      Clears the value of the 'processId' field.
      Returns:
      This builder.
    • getDomainEventVersion

      public String getDomainEventVersion()
      Gets the value of the 'domainEventVersion' field.
      Returns:
      The value.
    • getOptionalDomainEventVersion

      public Optional<String> getOptionalDomainEventVersion()
      Gets the value of the 'domainEventVersion' field as an Optional
      Returns:
      The Optional<value>.
    • setDomainEventVersion

      public EventProcessingFailedEvent.Builder setDomainEventVersion(String value)
      Sets the value of the 'domainEventVersion' field.
      Parameters:
      value - The value of 'domainEventVersion'.
      Returns:
      This builder.
    • hasDomainEventVersion

      public boolean hasDomainEventVersion()
      Checks whether the 'domainEventVersion' field has been set.
      Returns:
      True if the 'domainEventVersion' field has been set, false otherwise.
    • clearDomainEventVersion

      public EventProcessingFailedEvent.Builder clearDomainEventVersion()
      Clears the value of the 'domainEventVersion' field.
      Returns:
      This builder.
    • build

      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<EventProcessingFailedEvent>