public interface HealthEndpointGroupsRegistry extends HealthEndpointGroups
HealthEndpointGroups immutable instance.| Modifier and Type | Method and Description |
|---|---|
HealthEndpointGroupsRegistry |
add(String groupName,
Consumer<HealthEndpointGroupConfigurer> builder)
Add a new
HealthEndpointGroup. |
HealthEndpointGroupsRegistry |
remove(String groupName)
Remove an existing
HealthEndpointGroup. |
HealthEndpointGroups |
toGroups()
Build an immutable
HealthEndpointGroups. |
get, getNames, getPrimary, ofHealthEndpointGroupsRegistry add(String groupName, Consumer<HealthEndpointGroupConfigurer> builder)
HealthEndpointGroup.groupName - the name of the group to addbuilder - the group to addHealthEndpointGroupsRegistry remove(String groupName)
HealthEndpointGroup.groupName - the name of the group to removeHealthEndpointGroups toGroups()
HealthEndpointGroups.HealthEndpointGroups