public static class PfParameters.Builder extends Object implements ParameterBuilder<PfParameters>
Constructor and Description |
---|
Builder()
Constructor with default settings.
|
Builder(PfParameters parameters)
Constructor based on a parameter object.
|
Modifier and Type | Method and Description |
---|---|
PfParameters |
build()
Constructs an immutable instance of T.
|
PfParameters.Builder |
xmlConfig(Optional<String> xmlConfig)
Sets configuration xml string.
|
PfParameters.Builder |
xmlConfig(String xmlConfig)
Sets configuration xml string.
|
public Builder()
public Builder(PfParameters parameters)
parameters
- Parameter objectpublic PfParameters.Builder xmlConfig(String xmlConfig)
xmlConfig
- configuration stringpublic PfParameters.Builder xmlConfig(Optional<String> xmlConfig)
xmlConfig
- configuration stringpublic PfParameters build()
ParameterBuilder
build
in interface ParameterBuilder<PfParameters>