Class StringEnumOptionDataV1.Builder

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

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

    • getId

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

      public StringEnumOptionDataV1.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

      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 StringEnumOptionDataV1.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 StringEnumOptionDataV1.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 StringEnumOptionDataV1.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 StringEnumOptionDataV1.Builder clearValue()
      Clears the value of the 'value' field.
      Returns:
      This builder.
    • build

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