Class ProtonConfig.Hwinfo.Builder
java.lang.Object
com.yahoo.vespa.config.search.core.ProtonConfig.Hwinfo.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- ProtonConfig.Hwinfo
public static final class ProtonConfig.Hwinfo.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()cpu(ProtonConfig.Hwinfo.Cpu.Builder __builder) cpu(Consumer<ProtonConfig.Hwinfo.Cpu.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listdisk(ProtonConfig.Hwinfo.Disk.Builder __builder) disk(Consumer<ProtonConfig.Hwinfo.Disk.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listmemory(ProtonConfig.Hwinfo.Memory.Builder __builder) Make a new builder and run the supplied function on it before adding it to the list
-
Field Details
-
disk
-
memory
-
cpu
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
disk
-
disk
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
memory
-
memory
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
cpu
-
cpu
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
build
-