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