managed/src/main/java/com/yugabyte/yw/common/PlacementInfoUtil.java
/**
   * Returns the PlacementAZ object with the specified UUID if exists in the provided PlacementInfo,
   * else null.
   *
   * @param placementInfo PlacementInfo object to look through for the desired PlacementAZ.
   * @param azUUID UUID of the PlacementAZ to look for.
   * @return The specified PlacementAZ if it exists, else null.
   */
Returns the PlacementAZ object with the specified UUID if exists in the provided PlacementInfo,
else null.

@param placementInfo PlacementInfo object to look through for the desired PlacementAZ.
@param azUUID UUID of the PlacementAZ to look for.
@return The specified PlacementAZ if it exists, else null.
Returns the PlacementAZ object with the specified UUID if exists in the provided PlacementInfo else null . @param placementInfo PlacementInfo object to look through for the desired PlacementAZ . @param azUUID UUID of the PlacementAZ to look for . @return The specified PlacementAZ if it exists else null .
private static PlacementAZ findPlacementAzByUuid(PlacementInfo placementInfo, UUID azUUID) {
    for (PlacementCloud cloud : placementInfo.cloudList) {
      for (PlacementRegion region : cloud.regionList) {
        for (PlacementAZ az : region.azList) {
          if (az.uuid.equals(azUUID)) {
            return az;
          }
        }
      }
    }
    return null;
  }
private static PlacementAZ findPlacementAzByUuid ( PlacementInfo placementInfo , UUID azUUID ) { for ( PlacementCloud cloud : placementInfo . cloudList ) { for ( PlacementRegion region : cloud . regionList ) { for ( PlacementAZ az : region . azList ) { if ( az . uuid . equals ( azUUID ) ) { return az ; } } } } return null ; }
Returns the PlacementAZ object with the specified UUID if exists in the provided PlacementInfo,
 else null.
Returns the PlacementAZ object with the specified UUID if exists in the provided PlacementInfo else null .