Class AvroDomainEventUser.Builder

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

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

    • getId

      public String getId()
      Gets the value of the 'id' field.
      Returns:
      The value.
    • getOptionalId

      public Optional<String> getOptionalId()
      Gets the value of the 'id' field as an Optional
      Returns:
      The Optional<value>.
    • setId

      public AvroDomainEventUser.Builder setId(String value)
      Sets the value of the 'id' field.
      Parameters:
      value - The value of 'id'.
      Returns:
      This builder.
    • hasId

      public boolean hasId()
      Checks whether the 'id' field has been set.
      Returns:
      True if the 'id' field has been set, false otherwise.
    • clearId

      public AvroDomainEventUser.Builder clearId()
      Clears the value of the 'id' field.
      Returns:
      This builder.
    • getFamilyName

      public String getFamilyName()
      Gets the value of the 'familyName' field.
      Returns:
      The value.
    • getOptionalFamilyName

      public Optional<String> getOptionalFamilyName()
      Gets the value of the 'familyName' field as an Optional
      Returns:
      The Optional<value>.
    • setFamilyName

      public AvroDomainEventUser.Builder setFamilyName(String value)
      Sets the value of the 'familyName' field.
      Parameters:
      value - The value of 'familyName'.
      Returns:
      This builder.
    • hasFamilyName

      public boolean hasFamilyName()
      Checks whether the 'familyName' field has been set.
      Returns:
      True if the 'familyName' field has been set, false otherwise.
    • clearFamilyName

      public AvroDomainEventUser.Builder clearFamilyName()
      Clears the value of the 'familyName' field.
      Returns:
      This builder.
    • getGivenName

      public String getGivenName()
      Gets the value of the 'givenName' field.
      Returns:
      The value.
    • getOptionalGivenName

      public Optional<String> getOptionalGivenName()
      Gets the value of the 'givenName' field as an Optional
      Returns:
      The Optional<value>.
    • setGivenName

      public AvroDomainEventUser.Builder setGivenName(String value)
      Sets the value of the 'givenName' field.
      Parameters:
      value - The value of 'givenName'.
      Returns:
      This builder.
    • hasGivenName

      public boolean hasGivenName()
      Checks whether the 'givenName' field has been set.
      Returns:
      True if the 'givenName' field has been set, false otherwise.
    • clearGivenName

      public AvroDomainEventUser.Builder clearGivenName()
      Clears the value of the 'givenName' field.
      Returns:
      This builder.
    • getBusinessPartnerName

      public String getBusinessPartnerName()
      Gets the value of the 'businessPartnerName' field.
      Returns:
      The value.
    • getOptionalBusinessPartnerName

      public Optional<String> getOptionalBusinessPartnerName()
      Gets the value of the 'businessPartnerName' field as an Optional
      Returns:
      The Optional<value>.
    • setBusinessPartnerName

      public AvroDomainEventUser.Builder setBusinessPartnerName(String value)
      Sets the value of the 'businessPartnerName' field.
      Parameters:
      value - The value of 'businessPartnerName'.
      Returns:
      This builder.
    • hasBusinessPartnerName

      public boolean hasBusinessPartnerName()
      Checks whether the 'businessPartnerName' field has been set.
      Returns:
      True if the 'businessPartnerName' field has been set, false otherwise.
    • clearBusinessPartnerName

      public AvroDomainEventUser.Builder clearBusinessPartnerName()
      Clears the value of the 'businessPartnerName' field.
      Returns:
      This builder.
    • getBusinessPartnerId

      public String getBusinessPartnerId()
      Gets the value of the 'businessPartnerId' field.
      Returns:
      The value.
    • getOptionalBusinessPartnerId

      public Optional<String> getOptionalBusinessPartnerId()
      Gets the value of the 'businessPartnerId' field as an Optional
      Returns:
      The Optional<value>.
    • setBusinessPartnerId

      public AvroDomainEventUser.Builder setBusinessPartnerId(String value)
      Sets the value of the 'businessPartnerId' field.
      Parameters:
      value - The value of 'businessPartnerId'.
      Returns:
      This builder.
    • hasBusinessPartnerId

      public boolean hasBusinessPartnerId()
      Checks whether the 'businessPartnerId' field has been set.
      Returns:
      True if the 'businessPartnerId' field has been set, false otherwise.
    • clearBusinessPartnerId

      public AvroDomainEventUser.Builder clearBusinessPartnerId()
      Clears the value of the 'businessPartnerId' field.
      Returns:
      This builder.
    • getPropertiesMap

      public Map<String,String> getPropertiesMap()
      Gets the value of the 'propertiesMap' field.
      Returns:
      The value.
    • getOptionalPropertiesMap

      public Optional<Map<String,String>> getOptionalPropertiesMap()
      Gets the value of the 'propertiesMap' field as an Optional
      Returns:
      The Optional<value>.
    • setPropertiesMap

      public AvroDomainEventUser.Builder setPropertiesMap(Map<String,String> value)
      Sets the value of the 'propertiesMap' field.
      Parameters:
      value - The value of 'propertiesMap'.
      Returns:
      This builder.
    • hasPropertiesMap

      public boolean hasPropertiesMap()
      Checks whether the 'propertiesMap' field has been set.
      Returns:
      True if the 'propertiesMap' field has been set, false otherwise.
    • clearPropertiesMap

      public AvroDomainEventUser.Builder clearPropertiesMap()
      Clears the value of the 'propertiesMap' field.
      Returns:
      This builder.
    • build

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