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 from ZoneFilter has been applied. This forces the developer to consider which zones to process.
Author:
jonmv
  • Method Details

    • not

      ZoneList not()
      Negates the next filter.
      Specified by:
      not in interface ZoneFilter
    • in

      ZoneList in(Environment... environments)
      Zones in one of the given environments.
    • in

      ZoneList in(RegionName... regions)
      Zones in one of the given regions.
    • in

      ZoneList in(CloudName... clouds)
      Zones in one of the given clouds.
    • among

      ZoneList among(ZoneId... zones)
      Only the given zones — combine with not() for best effect!
    • dynamicallyProvisioned

      ZoneList dynamicallyProvisioned()
      Zones where hosts are dynamically provisioned
    • routingMethod

      ZoneList routingMethod(RoutingMethod method)
      Zones where traffic is routed using given method
    • get

      default Optional<? extends ZoneApi> get(ZoneId id)
      Returns the zone with the given id, if this exists.
    • zones

      List<? extends ZoneApi> zones()
      Returns the ZoneApi of all zones in this list.
    • ids

      default List<ZoneId> ids()
      Returns the ZoneIds of all zones in this list.