Package com.yahoo.config.provision.zone
Interface ZoneList
-
- All Superinterfaces:
ZoneFilter
public interface ZoneList extends ZoneFilter
Provides filters for and access to a list of ZoneIds. This is typically offered after an initial filter fromZoneFilter
has been applied. This forces the developer to consider which zones to process.- Author:
- jonmv
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ZoneList
among(ZoneId... zones)
Only the given zones — combine with not() for best effect!default List<ZoneId>
ids()
Returns the ZoneIds of all zones in this list.ZoneList
in(Environment... environments)
Zones in one of the given environments.ZoneList
in(RegionName... regions)
Zones in one of the given regions.ZoneList
not()
Negates the next filter.List<? extends ZoneApi>
zones()
Returns the ZoneApi of all zones in this list.-
Methods inherited from interface com.yahoo.config.provision.zone.ZoneFilter
all, controllerUpgraded, ofCloud, reachable, reprovisionToUpgradeOs, routingMethod
-
-
-
-
Method Detail
-
not
ZoneList not()
Negates the next filter.- Specified by:
not
in interfaceZoneFilter
-
in
ZoneList in(Environment... environments)
Zones in one of the given environments.
-
in
ZoneList in(RegionName... regions)
Zones in one of the given regions.
-
-