Class CentralDogmaEndpointGroupBuilder<T>
java.lang.Object
com.linecorp.centraldogma.client.armeria.CentralDogmaEndpointGroupBuilder<T>
- Type Parameters:
T- the type of the file in Central Dogma
Builds a
CentralDogmaEndpointGroup that retrieves the list of Endpoints from an entry
in Central Dogma.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a newly-createdCentralDogmaEndpointGroupthat retrieves the listEndpoints from an entry in Central Dogma.selectionStrategy(EndpointSelectionStrategy selectionStrategy) Sets theEndpointSelectionStrategythat creates anEndpointSelector.
-
Method Details
-
selectionStrategy
public CentralDogmaEndpointGroupBuilder selectionStrategy(EndpointSelectionStrategy selectionStrategy) Sets theEndpointSelectionStrategythat creates anEndpointSelector. -
build
Returns a newly-createdCentralDogmaEndpointGroupthat retrieves the listEndpoints from an entry in Central Dogma.
-