Package org.apache.parquet.avro
Class LeatherTrim.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<LeatherTrim>
-
- org.apache.parquet.avro.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeatherTrimbuild()LeatherTrim.BuilderclearColour()Clears the value of the 'colour' field.StringgetColour()Gets the value of the 'colour' field.booleanhasColour()Checks whether the 'colour' field has been set.LeatherTrim.BuildersetColour(String value)Sets the value of the 'colour' field.
-
-
-
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:
buildin interfaceorg.apache.avro.data.RecordBuilder<LeatherTrim>
-
-