@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","CacheConfig<K, V>"}) @NotThreadSafe public final class CacheConfigBuilder<K,V> extends Object
CacheConfig.
 Initialize attributes and then invoke the build() method to create an
 immutable instance.
 CacheConfigBuilder is not thread-safe and generally should not be stored in a field or collection,
 but instead used immediately to create instances.
| Constructor and Description | 
|---|
CacheConfigBuilder()
Creates a builder for  
CacheConfig instances. | 
| Modifier and Type | Method and Description | 
|---|---|
CacheConfigBuilder<K,V> | 
anchor(Object anchor)
Initializes the value for the  
anchor attribute. | 
CacheConfig<K,V> | 
build()
Builds a new  
CacheConfig. | 
CacheConfigBuilder<K,V> | 
cacheFunction(CacheFunction<K,V> cacheFunction)
Initializes the value for the  
cacheFunction attribute. | 
CacheConfigBuilder<K,V> | 
description(String description)
Initializes the value for the  
description attribute. | 
CacheConfigBuilder<K,V> | 
id(String id)
Initializes the value for the  
id attribute. | 
public CacheConfigBuilder()
CacheConfig instances.@CanIgnoreReturnValue public final CacheConfigBuilder<K,V> cacheFunction(CacheFunction<K,V> cacheFunction)
cacheFunction attribute.cacheFunction - The value for cacheFunctionthis builder for use in a chained invocation@CanIgnoreReturnValue public final CacheConfigBuilder<K,V> anchor(Object anchor)
anchor attribute.anchor - The value for anchorthis builder for use in a chained invocation@CanIgnoreReturnValue public final CacheConfigBuilder<K,V> id(String id)
id attribute.
 If not set, this attribute will have a default value as returned by the initializer of id.
id - The value for idthis builder for use in a chained invocation@CanIgnoreReturnValue public final CacheConfigBuilder<K,V> description(String description)
description attribute.
 If not set, this attribute will have a default value as returned by the initializer of description.
description - The value for descriptionthis builder for use in a chained invocationpublic CacheConfig<K,V> build()
CacheConfig.IllegalStateException - if any required attributes are missingCopyright © 2019 OpenDaylight. All rights reserved.