Package com.yahoo.cloud.config
Class LbServicesConfig.Tenants.Applications.Builder
java.lang.Object
com.yahoo.cloud.config.LbServicesConfig.Tenants.Applications.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- LbServicesConfig.Tenants.Applications
public static final class LbServicesConfig.Tenants.Applications.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveRotation(boolean __value) build()Add the given builder to this builder's list of Endpoints buildersMake a new builder and run the supplied function on it before adding it to the listSet the given list as this builder's list of Endpoints builders
-
Field Details
-
endpoints
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
activeRotation
-
endpoints
public LbServicesConfig.Tenants.Applications.Builder endpoints(LbServicesConfig.Tenants.Applications.Endpoints.Builder __builder) Add the given builder to this builder's list of Endpoints builders- Parameters:
__builder- a builder- Returns:
- this builder
-
endpoints
public LbServicesConfig.Tenants.Applications.Builder endpoints(Consumer<LbServicesConfig.Tenants.Applications.Endpoints.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
-
endpoints
public LbServicesConfig.Tenants.Applications.Builder endpoints(List<LbServicesConfig.Tenants.Applications.Endpoints.Builder> __builders) Set the given list as this builder's list of Endpoints builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
build
-