Class EnumOptionDataV1.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<EnumOptionDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<EnumOptionDataV1>
org.apache.fineract.avro.generic.v1.EnumOptionDataV1.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<EnumOptionDataV1>
Enclosing class:
EnumOptionDataV1

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

    • getId

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

      public EnumOptionDataV1.Builder setId(Integer 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 EnumOptionDataV1.Builder clearId()
      Clears the value of the 'id' field.
      Returns:
      This builder.
    • getCode

      public String getCode()
      Gets the value of the 'code' field.
      Returns:
      The value.
    • setCode

      public EnumOptionDataV1.Builder setCode(String value)
      Sets the value of the 'code' field.
      Parameters:
      value - The value of 'code'.
      Returns:
      This builder.
    • hasCode

      public boolean hasCode()
      Checks whether the 'code' field has been set.
      Returns:
      True if the 'code' field has been set, false otherwise.
    • clearCode

      public EnumOptionDataV1.Builder clearCode()
      Clears the value of the 'code' field.
      Returns:
      This builder.
    • getValue

      public String getValue()
      Gets the value of the 'value' field.
      Returns:
      The value.
    • setValue

      public EnumOptionDataV1.Builder setValue(String value)
      Sets the value of the 'value' field.
      Parameters:
      value - The value of 'value'.
      Returns:
      This builder.
    • hasValue

      public boolean hasValue()
      Checks whether the 'value' field has been set.
      Returns:
      True if the 'value' field has been set, false otherwise.
    • clearValue

      public EnumOptionDataV1.Builder clearValue()
      Clears the value of the 'value' field.
      Returns:
      This builder.
    • build

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