public interface ProgrammaticDriverConfigLoaderBuilder extends OngoingConfigOptions<ProgrammaticDriverConfigLoaderBuilder>
DriverConfigLoader.programmaticBuilder()
Modifier and Type | Method and Description |
---|---|
DriverConfigLoader |
build() |
ProgrammaticDriverConfigLoaderBuilder |
endProfile()
Ends the definition of a profile.
|
ProgrammaticDriverConfigLoaderBuilder |
startProfile(String profileName)
Starts the definition of a new profile.
|
withBoolean, withBooleanList, withBytes, withBytesList, withClass, withClassList, withDouble, withDoubleList, withDuration, withDurationList, withInt, withIntList, withLong, withLongList, without, withString, withStringList, withStringMap
@NonNull ProgrammaticDriverConfigLoaderBuilder startProfile(@NonNull String profileName)
All options set after this call, and before the next call to this method or endProfile()
, will apply to the given profile.
@NonNull ProgrammaticDriverConfigLoaderBuilder endProfile()
All options set after this call, and before the next call to startProfile(String)
,
will apply to the default profile.
@NonNull DriverConfigLoader build()
Copyright © 2017–2024. All rights reserved.