Class LeatherTrim.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder<LeatherTrim>
    Enclosing class:
    LeatherTrim

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

      • getColour

        public String getColour()
        Gets the value of the 'colour' field.
        Returns:
        The value.
      • setColour

        public LeatherTrim.Builder setColour​(String value)
        Sets the value of the 'colour' field.
        Parameters:
        value - The value of 'colour'.
        Returns:
        This builder.
      • hasColour

        public boolean hasColour()
        Checks whether the 'colour' field has been set.
        Returns:
        True if the 'colour' field has been set, false otherwise.
      • clearColour

        public LeatherTrim.Builder clearColour()
        Clears the value of the 'colour' field.
        Returns:
        This builder.
      • build

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