public static class ConfigurationEntry.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ConfigurationEntry> implements org.apache.avro.data.RecordBuilder<ConfigurationEntry>
Modifier and Type | Method and Description |
---|---|
ConfigurationEntry |
build() |
ConfigurationEntry.Builder |
clearKey()
Clears the value of the 'key' field.
|
ConfigurationEntry.Builder |
clearValue()
Clears the value of the 'value' field.
|
CharSequence |
getKey()
Gets the value of the 'key' field.
|
CharSequence |
getValue()
Gets the value of the 'value' field.
|
boolean |
hasKey()
Checks whether the 'key' field has been set.
|
boolean |
hasValue()
Checks whether the 'value' field has been set.
|
ConfigurationEntry.Builder |
setKey(CharSequence value)
Sets the value of the 'key' field.
|
ConfigurationEntry.Builder |
setValue(CharSequence value)
Sets the value of the 'value' field.
|
public CharSequence getKey()
public ConfigurationEntry.Builder setKey(CharSequence value)
value
- The value of 'key'.public boolean hasKey()
public ConfigurationEntry.Builder clearKey()
public CharSequence getValue()
public ConfigurationEntry.Builder setValue(CharSequence value)
value
- The value of 'value'.public boolean hasValue()
public ConfigurationEntry.Builder clearValue()
public ConfigurationEntry build()
build
in interface org.apache.avro.data.RecordBuilder<ConfigurationEntry>
Copyright © 2017 The Apache Software Foundation. All rights reserved.