Package com.yahoo.cloud.config
Class ModelConfig.Hosts.Builder
java.lang.Object
com.yahoo.cloud.config.ModelConfig.Hosts.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- ModelConfig.Hosts
public static final class ModelConfig.Hosts.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()services(ModelConfig.Hosts.Services.Builder __builder) Add the given builder to this builder's list of Services buildersMake a new builder and run the supplied function on it before adding it to the listservices(List<ModelConfig.Hosts.Services.Builder> __builders) Set the given list as this builder's list of Services builders
-
Field Details
-
services
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
name
-
services
Add the given builder to this builder's list of Services builders- Parameters:
__builder- a builder- Returns:
- this builder
-
services
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
-
services
Set the given list as this builder's list of Services builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
build
-