Class KeyValuePair.Builder
- java.lang.Object
-
- org.apache.logging.log4j.core.util.KeyValuePair.Builder
-
- All Implemented Interfaces:
Builder<KeyValuePair>
- Enclosing class:
- KeyValuePair
public static class KeyValuePair.Builder extends Object implements Builder<KeyValuePair>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyValuePair
build()
Builds the object after all configuration has been set.KeyValuePair.Builder
setKey(String aKey)
KeyValuePair.Builder
setValue(String aValue)
-
-
-
Method Detail
-
setKey
public KeyValuePair.Builder setKey(String aKey)
-
setValue
public KeyValuePair.Builder setValue(String aValue)
-
build
public KeyValuePair build()
Description copied from interface:Builder
Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
build
in interfaceBuilder<KeyValuePair>
- Returns:
- the configured instance.
-
-