Package io.ipdata.client
Class Ipdata.Builder
- java.lang.Object
-
- io.ipdata.client.Ipdata.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpdataServiceget()Ipdata.BuildernoCache()Overrides current cache config with null (no caching).CacheConfigBuilderwithCache()Allows for customizing the configuration of the cache.Ipdata.BuilderwithDefaultCache()Configures a cache with default configuration parameters.
-
-
-
Method Detail
-
noCache
public Ipdata.Builder noCache()
Overrides current cache config with null (no caching).- Returns:
- this
-
withDefaultCache
public Ipdata.Builder withDefaultCache()
Configures a cache with default configuration parameters. Note: Overrides any previously configured cache.- Returns:
- this builder
-
withCache
public CacheConfigBuilder withCache()
Allows for customizing the configuration of the cache. Note: Overrides any previously configured cache.- Returns:
- a cache configuration builder
- See Also:
CacheConfigBuilder
-
get
public IpdataService get()
- Returns:
- An Ipdata api facade
- See Also:
IpdataService
-
-