/** * Returns a list of AZ's which the given list of subnets belong to. * * @param subnets the list of subnets in the AZ * @param awsParamsDto the AWS related parameters for access/secret keys and proxy details * * @return the list of AZ's */ private List<AvailabilityZone> getAvailabilityZones(List<Subnet> subnets, AwsParamsDto awsParamsDto) { return ec2Dao.getAvailabilityZonesForSubnetIds(subnets, awsParamsDto); }
/** * Returns a list of AZ's which the given list of subnets belong to. * * @param subnets the list of subnets in the AZ * @param awsParamsDto the AWS related parameters for access/secret keys and proxy details * * @return the list of AZ's */ private List<AvailabilityZone> getAvailabilityZones(List<Subnet> subnets, AwsParamsDto awsParamsDto) { return ec2Dao.getAvailabilityZonesForSubnetIds(subnets, awsParamsDto); }